diff options
Diffstat (limited to 'module/plugins/hooks/DebridItaliaCom.py')
-rw-r--r-- | module/plugins/hooks/DebridItaliaCom.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hooks/DebridItaliaCom.py b/module/plugins/hooks/DebridItaliaCom.py index b7f0ef1c7..43e910a4b 100644 --- a/module/plugins/hooks/DebridItaliaCom.py +++ b/module/plugins/hooks/DebridItaliaCom.py @@ -9,7 +9,7 @@ from module.plugins.internal.MultiHoster import MultiHoster class DebridItaliaCom(MultiHoster): __name__ = "DebridItaliaCom" __type__ = "hook" - __version__ = "0.08" + __version__ = "0.09" __config__ = [("hosterListMode", "all;listed;unlisted", "Use for hosters (if supported)", "all"), ("hosterList", "str", "Hoster list (comma separated)", ""), @@ -23,5 +23,4 @@ class DebridItaliaCom(MultiHoster): def getHoster(self): - html = getURL("http://www.debriditalia.com/status.php") - return re.findall(r'title="(.+?)"> \1</td><td><img src="/images/(?:attivo|testing)', html) + return getURL("http://debriditalia.com/api.php", get={'hosts': ""}).replace('"', '').split(',') |