Segelflug.de Kleinanzeigen Telegram Bot
https://github.com/Turbo87/segelflug-classifieds.git
segelflug-classifieds ==============================================================================
Segelflug.de Kleinanzeigen Telegram Bot
This project implements a basic [Telegram] bot that regularly polls the [Segelflug.de Kleinanzeigen] page for new items and sends them to a public Telegram channel. The bot is available as a [Home Assistant] addon with support for [Raspberry Pi] and other ARM devices.
Usage
$ segelflug-classifieds --help
USAGE:
segelflug-classifieds [FLAGS] [OPTIONS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
-w, --watch Run continuously and poll the server in random intervals
OPTIONS:
--max-time <max-time>
Maximum time to wait between server requests (in minutes) [default: 30]
--min-time <min-time>
Minimum time to wait between server requests (in minutes) [default: 10]
--telegram-chat-id <telegram-chat-id>
Telegram chat ID [env: TELEGRAM_CHAT_ID] [default: @segelflug_classifieds]
--telegram-token <telegram-token>
Telegram bot token [env: TELEGRAM_TOKEN]
If no Telegram token is provided the application will only output the new items on the console, if a token is provided they will also be sent to the configurable Telegram channel.
In addition to these options a SENTRY_DSN environment variable can also be set
to enable error reporting on [Sentry.io].
Deployment
The easiest way to run this bot is as a Home Assistant addon:
https://github.com/Turbo87/segelflug-classifieds
License
at your option.
Contribution