Skip to content

Commit

Permalink
Einzelupdate resources/lib/ARDnew.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rols1 committed Jan 11, 2022
1 parent 20d250c commit 3ca96e7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions resources/lib/ARDnew.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
# 21.11.2019 Migration Python3 Modul kodi_six + manuelle Anpassungen
#
################################################################################
# <nr>8</nr> # Numerierung für Einzelupdate
# Stand: 09.01.2022
# <nr>9</nr> # Numerierung für Einzelupdate
# Stand: 11.01.2022

# Python3-Kompatibilität:
from __future__ import absolute_import # sucht erst top-level statt im akt. Verz.
Expand Down Expand Up @@ -1579,7 +1579,8 @@ def ARDVerpasstContent(title, startDate, endDate, CurSender):

base = "https://page.ardmediathek.de/page-gateway/compilations/ard/pastbroadcasts"
base = base.replace('/ard/', '/%s/' % sender)
path = base + "?startDateTime=%s&endDateTime=%s&pageNumber=0&pageSize=100" % (startDate, endDate)
# 09.01.2022 Anz. 100 kann bei ARD-Alle (ard) fehlschlagen -> 200
path = base + "?startDateTime=%s&endDateTime=%s&pageNumber=0&pageSize=200" % (startDate, endDate)

page, msg = get_page(path)
if page == '':
Expand Down

0 comments on commit 3ca96e7

Please sign in to comment.