Skip to content

joeljuhela/pricewatch

 
 

Repository files navigation

pricewatch

A simple Telegram bot that will watch for price changes so you don't have to. My other motivators for this project are practicing of using database with python and using requests + beautifulsoup for crawling data from websites.

Setup

Create a virtual environment for python

virtualenv -p python3 venv/

Start using the virtualenv and install packages

source venv/bin/activate
pip3 install -r requirements.txt

Create the database

python3 createdatabase.py

Make a Telegram bot

Usage

Change to virtualenv, if not already using it

source venv/bin/activate

Run main.py

python3 main.py

Telegram interface

Adding an item to watchlist

/add link_to_product

Deleting from watchlist

/delete
* click on the right command *

Please note the services currently supported: services.json.

Support for services

This app is designed so that adding new services should be easy. Ideal case is that adding a service does not require changes in program code, but only in services.json configuration file. This requires that there is already at least one supported service that has similar way of showing product information.

Feature requests and bugs

Please use Github issues.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%