summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 20:03:05 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-17 20:03:05 +0100
commitad0483adfd5dcb931392cd26eb4961f74ce91122 (patch)
treeccff73608249e32b503284d1f773d7f2562615b7
parentExtend SimpleHoster in multi-hoster plugins (diff)
downloadpyload-ad0483adfd5dcb931392cd26eb4961f74ce91122.tar.xz
[DebridItaliaCom] Fix hook getHoster
-rw-r--r--module/plugins/hooks/DebridItaliaCom.py5
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(',')