/amazon_price_tracker

created a simple web scraping tool using Beautiful soup and Request library. Which regularly checks the price of an item and when the price does go down it send an Email to the user alerting them that the price has dropped.

Primary LanguagePython

Amazon Price Tracker forthebadge

In this project we made a simple web scraping tool using Beautiful soup and Python Request library. Which regularly checks the price of an item and when the price does go down it send an Email to the user alerting them that the price has decreased.

This is a great project for someone who is interested by the concept of web scraping and the endless amount of project you could do with it.


Instructions

  1. Make sure you have Python (Version 3.6 or higher) installed in your system.
  2. Open the folder in CMD or terminal and type pip install -r requirements.txt
  3. Now edit the main.py file using your favorite code editor(Example: Sublime text editor, VSCode, Vim).
  4. Change sender_email, sender_password, receiver_email to your email,password

(Example: In place of sender_email at line 22,23 - change it yours email "youremail@gmail.com" ) similarly change sender_password and reciver_email

  1. Replace the product link in URL with your link. at line 9 (Example: url:'https://www.amazon.in/G731GT-Graphics-i5-9300H-Windows-G731GT-AU022T/dp/B07S36XJ8Q/')
  2. Now save the file, close the editor and run main.py.

PRE-REQUISITES

Your laptop with python 3.6.x (onwards) installed.

NOTE: Those with Linux and MacOSX would have Python installed by default, no action required.

Windows: Download the version for your laptop via https://www.python.org/downloads/

NOTES In your preferred editor, make sure indentation is set to "4 spaces".


Run using Python3.8+

  1. Clone or download repositiory: https://github.com/arevish/amazon_price_tracker.git
  2. In source folder, run python3 'main.py' to start program, optionally, run with --help argument to see other runtime options.

Be sure to stargaze the repository and also checkout my other work.

Thank You.