diff options
author | MrKrabat <MrKrabat@users.noreply.github.com> | 2018-01-14 12:50:21 +0100 |
---|---|---|
committer | Martijn Kaijser <martijn@xbmc.org> | 2018-01-14 14:52:59 +0100 |
commit | 7614cf25cf45728579713777796a41bed914fe05 (patch) | |
tree | e5655f02770a78ad2e839a35d47aa273df0c176b /plugin.video.wakanim/resources/lib/login.py | |
parent | 9ac19a57284a9e5f28bde14677d1e1aea54f6564 (diff) |
[plugin.video.wakanim] 0.6.0
Diffstat (limited to 'plugin.video.wakanim/resources/lib/login.py')
-rw-r--r-- | plugin.video.wakanim/resources/lib/login.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin.video.wakanim/resources/lib/login.py b/plugin.video.wakanim/resources/lib/login.py index 4d92a54..2ead064 100644 --- a/plugin.video.wakanim/resources/lib/login.py +++ b/plugin.video.wakanim/resources/lib/login.py @@ -51,7 +51,7 @@ def login(username, password, args): response = urllib2.urlopen("https://www.wakanim.tv/" + args._country + "/v2/catalogue") html = response.read() - if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html): + if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html) or ("Настройки уведомлений" in html): # session is valid return True @@ -70,7 +70,7 @@ def login(username, password, args): # check for login string html = response.read() - if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html): + if ("Meine Benachrichtigungen verwalten" in html) or ("Gérer mes notifications" in html) or ("Manage my notifications" in html) or ("Настройки уведомлений" in html): # save session to disk cj.save(cookiepath, ignore_discard=True) return True |