Skip to content

Script to check prices from Amazon Warehouse, collect data, and send email notifications.

Notifications You must be signed in to change notification settings

gustab-kamil/Amazon-Warehouse-Scrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📦 Amazon Warehouse Scrapper

Follow steal prices for returned items!

📖 Description

It is the python app - Web Scrapper for checking and saving price histories for Amazon Warehouse items.

🚀 Usage

Make sure you have installed:

Notifying

You can choose between two options of notifying

  • By telegram message (preferred option)
  • By e-mail

a) Notifying by telegram message

To do so you first need to configure your telegram_send package.

To do so:

  1. First create your new telegram bot by writing on telegram to the BotFather on telegram, and create new bot by using command /newbot.
  2. After filling all needed data you will be given you HTTP API token for your bot.
  3. In CLI use command telegram-send configure - paste your token there, then add your freshly created bot on telegram and send him your activation password (code).
  4. Voi'la - you can simply use your bot!

b) Notifying by mail

For best experience you should use gmail along with per-app-password for your script. More about App Password for gmail - here

You need to complete the file you can find in: /config

options.txt

Data examples:

  1. Recipient Email
  2. Sender Email address
  3. Sender Email app-password

options.txt example screen


Fill with products

To do so, you should modify file in /config named:

tracked_products.csv

You can add your products, with target price below which you will receive email notifications.

Data examples:

Product link, Our target price

tracked_products.csv example screen


Run

Just run one of the following commands (depending on which notify engine you want to use) at the root of your project:

python scrapper.py --notify mail
python scrapper.py --notify telegram
python scrapper.py --notify no-notify

Or schedule it to run every X minutes on your machine, by using e.g. crontab like:

| every 10min   | your path to scrapper catalog | path to your python         | parameters
*/10 * * * * cd /home/Amazon-Warehouse-Scrapper; /usr/bin/python3 scrapper.py --notify telegram

Script does provide logs, along with filling searching_history.xlsx file with data from each run. When finds


Author

👤 Kamil Gustab

About

Script to check prices from Amazon Warehouse, collect data, and send email notifications.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages