Skip to content

Simple watcher and email notifier for recent OLX offers

License

Notifications You must be signed in to change notification settings

rotaliator/olx_beholder

Repository files navigation

Olx Beholder ;)

Simple watcher and email notifier for recent OLX offers

Usage

required python >=3.6

$ git clone https://github.com/rotaliator/olx_beholder.git
$ cd olx_beholder
$ pip install bs4 requests pyhiccup
$ cp olx_beholder.ini.sample olx_beholder.ini

Set SMTP and message settings in olx_beholder.ini

Go to http://olx.pl, specify query filter, copy generated url and append it to file urls.txt. Each url should be in new line.

Run python olx_beholder.py in cron task.

Config file can be pointed from command line (--ini)

$ python olx_beholder.py -h
usage: olx_beholder.py [-h] [--ini CONFIG_FILE]

Simple watcher and email notifier for recent OLX offers ;)

optional arguments:
 -h, --help         show this help message and exit
 --ini CONFIG_FILE  config file (default: olx_beholder.ini)

License

Copyright © 2019 rotaliator

Released under the MIT license.

About

Simple watcher and email notifier for recent OLX offers

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages