From 9b012b1b9556f6f5a324bef58026f895b0a7a865 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sun, 21 Jul 2013 12:44:05 +0200 Subject: fixed Alldebrid --- pyload/plugins/accounts/AlldebridCom.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'pyload/plugins/accounts/AlldebridCom.py') 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()] -- cgit v1.2.3