Skip to content

An automated price tracker that uses bright data, playwright, react and flask.

Notifications You must be signed in to change notification settings

adhameldeeb/Price-Tracking-Web-Scraper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Information

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.

Libraries/Frameworks/Modules

This project uses:

  • React
  • Flask
  • Playwright
  • Bright Data (Web Scraping Browser)

Using the Scraper

Install all dependencies, create the auth.json file, start the flask backend, run the react frontend and interact with the tool.

auth.json

Fill in your Bright Data Scraping Browser credentials in a backend/scraper/auth.json file (see auth_example.json).

Python Flask Backend

  • cd backend
  • pip install -r requirements.txt
  • playwright install
  • python app.py or python3 app.py

Running the React Frontend

  • cd frontend
  • npm i
  • npm run start

Setting Up Automation

To 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.

Windows

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.

About

An automated price tracker that uses bright data, playwright, react and flask.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 48.8%
  • JavaScript 41.2%
  • HTML 7.0%
  • CSS 2.5%
  • Batchfile 0.5%