This project contains a Python 3 module that parses the schedule of the Tatort website. After parsing, it returns a list containing the next broadcasts on the channel Das Erste.
To get a local copy up and running follow these simple steps.
You will need a working installation of Python 3.
-
Install via pip:
pip install tatort_schedule
Import tatort_schedule and call the get_tatort function:
from tatort_schedule import schedule
schedule = schedule.get_tatort_erste()
For each schedule element, a dictionary with the following keys is returned:
Key | Example Value |
---|---|
title | "Mord Ex Machina" |
city | "Saarbrücken" |
inspectors | "Stellbrink und Marx" |
time | "2021-07-09T22:15:00+02:00" |
link | "https://www.daserste.de/unterhaltung/krimi/tatort/sendung/mord-ex-machina-104.html" |
If the schedule for other channels is fetched (using get_tatort_dritte()), every schedule element has an additional channel key.
Distributed under the GPLv3 License. See LICENSE
for more information.
Kai Anter - @tanikai29 - kai.anter@web.de
Project Link: https://github.com/Tanikai/tatort-schedule