A web-scraping Python program to check the stock of any links the user puts in. Uses the "requests" library to get the content of each page and then parses it with BeautifulSoup. Works for Canada Computers, Memory Express, Bestbuy and Newegg (Canadian versions, American versions untested).
Add the links you want to check into "links.txt", with a newline separating each link.
Then, run the following instructions in your command line (Windows):
> git clone https://github.com/rohit-px2/Stock_Check.git Stock_Check
> cd Stock_Check
> pip install -r requirements.txt
to install requirements (only need to do this once)
If your Python version is less than 3.2, you must run > pip install futures
. Otherwise you do
not need to do anything. Then
> cd src
> python main.py
to run. Enter the interval time and the program will begin checking stock!