summaryrefslogtreecommitdiff
path: root/plugin.video.wakanim/resources/lib/netapi.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugin.video.wakanim/resources/lib/netapi.py')
-rw-r--r--plugin.video.wakanim/resources/lib/netapi.py6
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