techwithtim / Price-Tracking-Web-Scraper
- суббота, 8 июля 2023 г. в 00:00:01
An automated price tracker that uses bright data, playwright, react and flask.
This project provides a user interface to interact with an automated price tracking web scraper. Currently the tracker scrapes amazon.ca, but could be configured to scrape multiple sources.
This project uses:
Install all dependencies, create the auth.json file, start the flask backend, run the react frontend and interact with the tool.
Fill in your Bright Data Scraping Browser credentials in a backend/scraper/auth.json file (see auth_example.json).
cd backendpip install -r requirements.txtplaywright installpython app.py or python3 app.pycd frontendnpm inpm run startTo automate the collection of prices from this software simply run the scheduler/main.py file at your desired increment while the python flask backend is running.
I have created a simple .bat script called run.bat that you can schedule to execute using the Windows Task Scheduler that will automatically run the backend api and send the appropriate request to it.