From time to time some threads fail at parsing the tele page.
[*] Getting EPG data from tele.ch
[*] Downloading from 2019-06-13T19:19:49.453393 until 2019-06-13T23:18:49.453393
[*] Downloading from 2019-06-13T23:18:49.453393 until 2019-06-14T03:17:49.453393
[*] Downloading from 2019-06-14T03:17:49.453393 until 2019-06-14T07:16:49.453393
[*] Downloading from 2019-06-14T07:16:49.453393 until 2019-06-14T11:15:49.453393
[*] Downloading from 2019-06-14T11:15:49.453393 until 2019-06-14T15:14:49.453393
Exception in thread Thread-36:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/TV7_EPG_Parser/epg_sources/tele.py", line 161, in run
self.process_data(self.name, self.q)
File "/TV7_EPG_Parser/epg_sources/tele.py", line 170, in process_data
self.enriched_data.append(tele.__enrich_show__(data))
File "/TV7_EPG_Parser/epg_sources/tele.py", line 128, in __enrich_show__
tele.__api__+"/show/"+item["assetId"]).text)[0]
IndexError: list index out of range
[*] Downloading from 2019-06-14T15:14:49.453393 until 2019-06-14T19:13:49.453393
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/TV7_EPG_Parser/epg_sources/tele.py", line 161, in run
self.process_data(self.name, self.q)
File "/TV7_EPG_Parser/epg_sources/tele.py", line 170, in process_data
self.enriched_data.append(tele.__enrich_show__(data))
File "/TV7_EPG_Parser/epg_sources/tele.py", line 128, in __enrich_show__
tele.__api__+"/show/"+item["assetId"]).text)[0]
IndexError: list index out of range
Exception in thread Thread-34:
Traceback (most recent call last):
File "/usr/local/lib/python3.7/threading.py", line 917, in _bootstrap_inner
self.run()
File "/TV7_EPG_Parser/epg_sources/tele.py", line 161, in run
self.process_data(self.name, self.q)
File "/TV7_EPG_Parser/epg_sources/tele.py", line 170, in process_data
self.enriched_data.append(tele.__enrich_show__(data))
File "/TV7_EPG_Parser/epg_sources/tele.py", line 128, in __enrich_show__