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/netapi.py | |
parent | 9ac19a57284a9e5f28bde14677d1e1aea54f6564 (diff) |
[plugin.video.wakanim] 0.6.0
Diffstat (limited to 'plugin.video.wakanim/resources/lib/netapi.py')
-rw-r--r-- | plugin.video.wakanim/resources/lib/netapi.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin.video.wakanim/resources/lib/netapi.py b/plugin.video.wakanim/resources/lib/netapi.py index 1fd5e6f..e169796 100644 --- a/plugin.video.wakanim/resources/lib/netapi.py +++ b/plugin.video.wakanim/resources/lib/netapi.py @@ -246,7 +246,7 @@ def startplayback(args): soup = BeautifulSoup(html, "html.parser") # check if not premium - if ("Diese Folge ist für Abonnenten reserviert" in html) or ("Cet épisode est reservé à nos abonnés" in html) or ("This episode is reserved for our subscribers" in html): + if ("Diese Folge ist für Abonnenten reserviert" in html) or ("Cet épisode est reservé à nos abonnés" in html) or ("This episode is reserved for our subscribers" in html) or ("Эта серия зарезервирована для наших подписчиков" in html): xbmc.log("[PLUGIN] %s: You need to own this video or be a premium member '%s'" % (args._addonname, args.url), xbmc.LOGERROR) xbmcgui.Dialog().ok(args._addonname, args._addon.getLocalizedString(30043)) return @@ -270,9 +270,9 @@ def startplayback(args): return # using stream with hls+aes - if ("Benutzer wechseln" in html) or ("Changer de lecteur" in html) or ("Change user" in html): + if ("Benutzer wechseln" in html) or ("Changer de lecteur" in html) or ("Change user" in html) or ("Переключить плеер" in html): # streaming is only for premium subscription - if (("<span>Kostenlos</span>" in html) or ("<span>Gratuit</span>" in html) or ("<span>Free</span>" in html)) and not ("episode_premium_title" in html): + if (("<span>Kostenlos</span>" in html) or ("<span>Gratuit</span>" in html) or ("<span>Free</span>" in html) or ("<span>Бесплатный аккаунт</span>" in html)) and not ("episode_premium_title" in html): xbmc.log("[PLUGIN] %s: You need to own this video or be a premium member '%s'" % (args._addonname, args.url), xbmc.LOGERROR) xbmcgui.Dialog().ok(args._addonname, args._addon.getLocalizedString(30043)) return |