Kwork Parser is a Telegram Bot to recieve notifications about the new offers in the Kwork service. (And in the future, a more convenient wrapper for its use)
For setup the Kwork notifier:
Clone it to any place on your machine:
git clone https://github.com/jaka2005/kwork-parser.git
pip install -r reqs.txt
Create A file with name .env
in the root of project. And fill it in as shown below:
DATABASE_URL=<database_url> # as a simple case is may be like: sqlite:///database.db
BOT_TOKEN=<bot_token> # your telegram bot token, detail here: https://core.telegram.org/bots/features#botfather
CATEGORY=<category_code> # i actually use 41 that mean `scripts and bots` in kwork service
CHAT_ID=<chat_id> # your telegram id, you can get it here: https://t.me/getmyid_bot
PERIOD=<period> # interval in minutes between parsing executings
To find out the category code, go to the Kwork exchange, select the desired category and get it from url as shown below:
And now you can just run it
python main.py