Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.14 KB

README.md

File metadata and controls

37 lines (26 loc) · 1.14 KB

TagesschauTelegramBot

Share the current episode of Tagesschau/Tagesthemen with a quick inline command.

Run

  1. Copy crendentials.example.json to credentials.json.
cp crendentials.example.json credentials.json
  1. Add you bot api key to credentials.json.

  2. Install dependencies

pip install -r requirements.txt
  1. Start the bot.
python bot.py

Usage

@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.