läuft in Schleife und pusht SV
This commit is contained in:
parent
ebde5eed5e
commit
3c53424758
2 changed files with 25 additions and 33 deletions
|
|
@ -1,4 +1,26 @@
|
|||
a = {"episode" : "","fanart" : "","file":"","label":"","season":"","showtitle":"","type":"","title":""}
|
||||
import urllib.request
|
||||
import requests
|
||||
def email_alert(first):
|
||||
report = {}
|
||||
report["value1"] = first
|
||||
|
||||
urllib.request.urlopen("https://maker.ifttt.com/trigger/kalender/with/key/foLJhy361EqeESdkssI-J", data=report)
|
||||
|
||||
|
||||
print("Choose your third string.")
|
||||
c = input()
|
||||
#email_alert(c)
|
||||
url1 = "https://maker.ifttt.com/trigger/iCloud/with/key/foLJhy361EqeESdkssI-J?value1="
|
||||
url2 = "&value2=12:05"
|
||||
url = url1 + c + url2
|
||||
print(url)
|
||||
#requests.get("https://maker.ifttt.com/trigger/iCloud/with/key/foLJhy361EqeESdkssI-J?value1=test_final&value2=12:05")
|
||||
requests.get(url)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
for i in a:
|
||||
print(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue