mathewmeconry / TV7_EPG_Parser

Parsers EPG information of different sources and prepares them for TV7 (Init7) in XMLTV format
MIT License
18 stars 12 forks source link

Add tele.ch - Init7 mapping for ITV 1 HD #4

Closed nbarrientos closed 5 years ago

nbarrientos commented 5 years ago

Tele.ch's id is itv. Init7's id after the prep step is itv1.

$ curl https://api.init7.net/tvchannels.m3u -s | grep "ITV 1"
#EXTINF:-1,ITV 1 HD

This block of elifs should probably be represented with a dict and put aside.

:gb:

mathewmeconry commented 5 years ago

This block of ifselses should probably be represented with a dict and put aside.

Good idea. I didn't thought that I'll have so much special mappings