diff options
Diffstat (limited to 'pyload/plugins/addons/AlldebridCom.py')
-rw-r--r-- | pyload/plugins/addons/AlldebridCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyload/plugins/addons/AlldebridCom.py b/pyload/plugins/addons/AlldebridCom.py index 6818b8c43..d0e9b1f77 100644 --- a/pyload/plugins/addons/AlldebridCom.py +++ b/pyload/plugins/addons/AlldebridCom.py @@ -5,6 +5,7 @@ from module.network.RequestFactory import getURL from module.plugins.internal.MultiHoster import MultiHoster + class AlldebridCom(MultiHoster): __name__ = "AlldebridCom" __version__ = "0.13" @@ -23,6 +24,6 @@ class AlldebridCom(MultiHoster): def getHoster(self): https = "https" if self.getConfig("https") else "http" - page = getURL(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip() - + page = getURL(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"", "").strip() + return [x.strip() for x in page.split(",") if x.strip()] |