Update epg2xml.py
This commit is contained in:
parent
900186e3ca
commit
f825f935a7
@ -439,7 +439,6 @@ def GetEPGFromSKY(ChannelInfo):
|
|||||||
response = requests.post(url, data=params, headers=ua, timeout=timeout)
|
response = requests.post(url, data=params, headers=ua, timeout=timeout)
|
||||||
response.raise_for_status()
|
response.raise_for_status()
|
||||||
json_data = response.text
|
json_data = response.text
|
||||||
print(json_data)
|
|
||||||
try:
|
try:
|
||||||
data = json.loads(json_data, encoding='utf-8')
|
data = json.loads(json_data, encoding='utf-8')
|
||||||
if (len(data['scheduleListIn']) == 0) :
|
if (len(data['scheduleListIn']) == 0) :
|
||||||
|
Loading…
x
Reference in New Issue
Block a user