diff options
Diffstat (limited to 'pyload/plugins')
-rw-r--r-- | pyload/plugins/accounts/AlldebridCom.py | 5 | ||||
-rw-r--r-- | pyload/plugins/hoster/AlldebridCom.py | 5 |
2 files changed, 3 insertions, 7 deletions
diff --git a/pyload/plugins/accounts/AlldebridCom.py b/pyload/plugins/accounts/AlldebridCom.py index 1b40876a7..24f81cfd0 100644 --- a/pyload/plugins/accounts/AlldebridCom.py +++ b/pyload/plugins/accounts/AlldebridCom.py @@ -1,4 +1,3 @@ - import xml.dom.minidom as dom from BeautifulSoup import BeautifulSoup from time import time @@ -51,7 +50,5 @@ class AlldebridCom(MultiHoster): self.wrongPassword() def loadHosterList(self, req): - https = "https" if self.getConfig("https") else "http" - page = req.load(https + "://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip() - + page = req.load("http://www.alldebrid.com/api.php?action=get_host").replace("\"","").strip() return [x.strip() for x in page.split(",") if x.strip()] diff --git a/pyload/plugins/hoster/AlldebridCom.py b/pyload/plugins/hoster/AlldebridCom.py index cdb5ccc08..9668e6e57 100644 --- a/pyload/plugins/hoster/AlldebridCom.py +++ b/pyload/plugins/hoster/AlldebridCom.py @@ -3,9 +3,8 @@ import re from urllib import unquote from random import randrange -from module.plugins.Hoster import Hoster -from module.common.json_layer import json_loads -from module.utils import parseFileSize +from pyload.plugins.Hoster import Hoster +from pyload.utils import parseFileSize, json_loads class AlldebridCom(Hoster): |