Files
strain-tools/packages/scraper
..
2018-08-31 10:47:33 -07:00
2018-08-30 19:07:42 -07:00
2018-08-30 19:07:42 -07:00
2018-09-08 17:55:31 -07:00
2018-08-31 16:52:09 -07:00

leafly-scraper

Scrapes strain info, stores for later reference.

Clone repo and run the command. Resulting data can be found in db.json.

yarn install
yarn start

NOTE: You may need to run it multiple times (4 or 5 should do it), since some strains will get skipped the first few times. I don't know if it's leafly's endpoint or some weird race condition in the scraping code though.