Datum für die Tabelle um das Jahr ergänzt
This commit is contained in:
parent
4f3ff5ad3f
commit
09a9b8b296
1 changed files with 5 additions and 2 deletions
|
|
@ -6,7 +6,8 @@ import pymysql
|
|||
|
||||
|
||||
wochentag = datetime.today().weekday()
|
||||
wochentag = 2
|
||||
jahr = datetime.now().year
|
||||
wochentag = 5
|
||||
if wochentag == 2:
|
||||
a = "582"
|
||||
elif wochentag == 5:
|
||||
|
|
@ -23,6 +24,8 @@ def notify_telegram(text):
|
|||
requests.post(url, params=params)
|
||||
|
||||
# Ziel-URL (ARD‑Teletext Mobilseite 581)
|
||||
|
||||
|
||||
url = "https://www.ard-text.de/mobil/" + str(a)
|
||||
|
||||
headers = {
|
||||
|
|
@ -95,7 +98,7 @@ for i in lottozahlen:
|
|||
ef=str((ab+str(cd)))
|
||||
Lottozahlen[ef] = i
|
||||
cd = cd +1
|
||||
Lottozahlen['Datum'] = datum_woche
|
||||
Lottozahlen['Datum'] = str(jahr) + ' / ' + str(datum_woche)
|
||||
Lottozahlen['Superzahl'] = superzahl
|
||||
Lottozahlen['Spiel77'] = int(game77)
|
||||
Lottozahlen['Super6'] = int(subber6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue