Scraping Boardgamepage Shops using Playwright and oclif.io Data can be filtered using scrappy-web
- Clone repository
- Enter the project directory and execute
npm installin order to install all the packages
npm install playwrightnpm install @playwright/test
./bin/dev <command> --save <flag>to run with a flag to savesave:json, console.log() as default- use
--helpfor help - debug with
DEBUG=* ./bin/dev command
npm run scrappyto run an examplenpm run scrappy:parallelto run all scrapers parallellynpm run <shopname>:jsonto run single shop scraper, e.g.npm run dragoneye- available shops:
dragoneye,dragonus,mepel,planszostrefa,shopgracz - scraping only available games if possible