Skip to content

Commit

Permalink
Update Addon to 1.1.6
Browse files Browse the repository at this point in the history
- Fix Zattoo Login
  • Loading branch information
DeBaschdi committed Jun 30, 2023
1 parent 680c124 commit 6c5d1e7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions addon.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="service.takealug.epg-grabber" name="Takealug EPG Grabber" version="1.1.5+matrix" provider-name="DeBaschdi">
<addon id="service.takealug.epg-grabber" name="Takealug EPG Grabber" version="1.1.6+matrix" provider-name="DeBaschdi">
<requires>
<import addon="xbmc.python" version="3.0.0"/>
<import addon="script.module.requests"/>
Expand All @@ -20,6 +20,6 @@
<screenshot>screenshot1.png</screenshot>
<screenshot>screenshot2.png</screenshot>
</assets>
<news lang="en">1.1.5 Fix Zattoo XML Creation</news>
<news lang="en">1.1.6+ Fix Zattoo Login</news>
</extension>
</addon>
14 changes: 7 additions & 7 deletions resources/providers/zattoo.py
Expand Up @@ -72,13 +72,13 @@ def get_settings(grabber):

provider = zttdict[grabber][0]
lang = zttdict[grabber][1]
ztt_header = {'Host': '{}'.format(zttdict[grabber][12]),
'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0',
'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
'Accept-Language': 'de,en-US;q=0.7,en;q=0.3',
'Accept-Encoding': 'gzip, deflate, br',
'Connection': 'keep-alive',
'Upgrade-Insecure-Requests': '1'}
ztt_header = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) '
'Chrome/114.0.0.0 Safari/537.36',
'dnt': '1', 'origin': 'https://zattoo.com', 'pragma': 'no-cache', 'referer': 'https://zattoo.com/client',
'sec-ch-ua': '"Not.A/Brand";v="8", "Chromium";v="114", "Google Chrome";v="114"',
'sec-ch-ua-mobile': '?0', 'sec-ch-ua-platform': '"Windows"',
'sec-fetch-dest': 'empty', 'sec-fetch-mode': 'same-origin',
'sec-fetch-site': 'same-origin'}

return provider_temppath, ztt_genres_json, ztt_channels_json, ztt_genres_warnings_tmp, ztt_genres_warnings, ztt_channels_warnings_tmp, ztt_channels_warnings, days_to_grab, episode_format, channel_format, genre_format, ztt_chlist_provider_tmp, ztt_chlist_provider, ztt_chlist_selected, provider, lang, ztt_header, ztt_session, username, password

Expand Down

0 comments on commit 6c5d1e7

Please sign in to comment.