This is a simple python script which can be used to track a products prices on Amazon. It uses Bs4 and Requests library to do the task. This is exclusive for Mac OS.
- Make sure you have Python (Version 3.6 or higher) installed in your system.
- Open the folder in CMD or terminal and type
pip install -r requirements.txt
- Now edit the settings.json file using your favorite code editor(Example: Sublime text editor, VSCode, Vim).
- Change
budget:1000000
value to your budget. (Example:budget:991001
- Replace the link in URL with your link. (Example:
url:'https://www.amazon.in/G731GT-Graphics-i5-9300H-Windows-G731GT-AU022T/dp/B07S36XJ8Q/'
) - Change the headers according to your user agent. (Example:
headers = {"User-Agent": 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.75 Safari/537.36'}
) - Now save the file, close the editor and run main.py.
- Using pync library
- Supports multiple products
- Supports Unavailable products