Closed zdavatz closed 4 years ago
Parse durgshortage.ch, main table after "nach Präparaten", grab the following columns:
Bezeichnung GTIN Pharmacode Firma Datum letzte Mutation Tage seit erster Meldung Status Datum Lieferfähigkeit
and export to a JSON file named drugshortage.json
drugshortage.json
detailed entry links are like this: https://www.drugshortage.ch/detail_lieferengpass.aspx?ID=8083, there is one link per line in column Bezeichnung
Bezeichnung
The job should run with this option: meteor --once --settings swiss.json
meteor --once --settings swiss.json
@hamzamu suggests to use https://github.com/typicode/lowdb to write directly to a JSON file.
done with 758fec73a792e254d8b81ebb5cf9270f99f99908
Parse durgshortage.ch, main table after "nach Präparaten", grab the following columns:
Bezeichnung GTIN Pharmacode Firma Datum letzte Mutation Tage seit erster Meldung
Status Datum Lieferfähigkeit
and export to a JSON file named
drugshortage.json
detailed entry links are like this: https://www.drugshortage.ch/detail_lieferengpass.aspx?ID=8083, there is one link per line in column
Bezeichnung
The job should run with this option:
meteor --once --settings swiss.json
@hamzamu suggests to use https://github.com/typicode/lowdb to write directly to a JSON file.