diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-21 12:44:05 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2013-07-21 12:44:05 +0200 |
commit | 9b012b1b9556f6f5a324bef58026f895b0a7a865 (patch) | |
tree | cd9b68b5fc15596fc13c80b83248ff6ce4a8cf6f /pyload/plugins | |
parent | fixed saving configs (diff) | |
download | pyload-9b012b1b9556f6f5a324bef58026f895b0a7a865.tar.xz |
fixed Alldebrid
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): |