Files
strain-tools/packages/scraper/README.md
2018-08-31 16:52:09 -07:00

401 B

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.