|
@@ -74,7 +74,8 @@ class Connector(object):
|
|
|
connection = urllib.request.urlopen(
|
|
|
"https://zdf-cdn.live.cellular.de/mediathekV2/broadcast-missed/%s"
|
|
|
% (today-timedelta(days=1)).strftime("%Y-%m-%d"))
|
|
|
- response = json.load(connection)
|
|
|
+ data = connection.read().decode("utf-8")
|
|
|
+ response = json.loads(data)
|
|
|
for cluster in response["broadcastCluster"]:
|
|
|
for broadcast in cluster["teaser"]:
|
|
|
if self._name in broadcast["titel"]:
|