Share the current episode of Tagesschau/Tagesthemen with a quick inline command.
- Copy crendentials.example.json to credentials.json.
cp crendentials.example.json credentials.json
-
Add you bot api key to credentials.json.
-
Install dependencies
pip install -r requirements.txt
- Start the bot.
python bot.py
@bot-name <keyword> <quality> <send-link>
Argument | Required | Explanation | Default | Possible options |
---|---|---|---|---|
keyword | optional | Keyword identifying show | all | all, tagesschau, tagesthemen, tageschau100 |
quality | optional | Quality of the video | depends on keyword | webs, webm, webl, webxl |
send-link | optional | Send a link instead of the video | depends on keyword | True, False |
Notice that if the file is bigger than 20MB it can only be send with send-link=True
.