Skip to content

A simple python script to crawl Digitec and Galaxus AG websites product list

Notifications You must be signed in to change notification settings

iyotee/DigitecPriceNAvailabilityBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Logo

DigitecPriceBot2Telegram

A simple python script to crawl the Switzerland companies both Digitec and Galaxus AG websites products list

Explore the docs »

View Demo . Report Bug . Request Feature

Downloads Contributors Issues License

Table Of Contents

About The Project

A simple python script to crawl the Switzerland companies both websites Digitec and Galaxus AG products list

Screen Shot

Here's why:

  • Because both companies are great
  • Because i need low prices everytime
  • Because i love 'em

Built With

Python BeautifulSoup4

Getting Started

Clone this repo

Prerequisites

  • pip
sudo apt-get install python3-pip -y

Installation

  1. Get a free API Key from Telegram @BotFather https://telegram.me/BotFather. Then you can ask the Telegram UserID bot https://telegram.me/myidbot to give you your User ID by sending the command :
/getid
  1. Clone the repo
git clone https://github.com/iyotee/DigitecPriceNAvailabilityBot.git
  1. Install pip packages
python3 pip install python-telegram-bot -y
python3 pip install requests -y
python3 pip install bs4 -y
  1. Enter your API in main.py

Usage

you can create a cron task every hour ( 0 * * * * )

crontab -e

edit the end of the files by appending :

0 * * * * python3 DigitecPriceNAvailabilityBot/main.py

Save and exit with ctrl+x and that's it ! Your bot is now running and sending your message on your Telegram user every hour ! 🎊

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  • If you have suggestions for adding or removing projects, feel free to open an issue to discuss it, or directly create a pull request after you edit the README.md file with necessary changes.
  • Please make sure you check your spelling and grammar.
  • Create individual PR for each suggestion.
  • Please also read through the Code Of Conduct before posting your first idea as well.

Creating A Pull Request

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE for more information.

Authors

  • Jérémy Noverraz - Comp Sci enthousiast - Iyotee - Made with a lot of coffee

About

A simple python script to crawl Digitec and Galaxus AG websites product list

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages