ThPadelis / py-goodsbot

Goodsbot is a bot for dealing with daily deals from a Greek eshop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Goodsbot

Goodsbot is a bot for dealing with daily deals from a Greek eshop.
These deals come every day at 12pm Greece Time (or 10am UTC). In order to not visit their website every day and risk losing great deals due to lack of time or something, this bot will automatically notify you with a push notification at any device your set up.

Prerequisites

  1. Python installed on your machine
  2. MongoDB installed on your machine or a MongoDB Atlas account
  3. An account at Pushbullet
    1. Register
    2. Set up your devices (where you want to have your notifications)
    3. Go to Settings and Create Access Token
    4. Copy the token and paste it inside the .env file

Usage

  1. Clone the repository
    git clone https://github.com/ThPadelis/py-goodsbot.git
  2. Install requirements
    pip install -r requirements.txt
  3. Edit environment variables
    cp .env.example .env
  4. Set up cronjob for daily notifications
    crontab -e 
    # add job
    TZ=UTC+2
    0 12 * * * path/to/python path/to/app.py

Install requirements

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Goodsbot is a bot for dealing with daily deals from a Greek eshop.

License:MIT License


Languages

Language:Python 96.7%Language:Shell 3.3%