summaryrefslogtreecommitdiffstats
path: root/pyload/plugins/crypter/OneKhDe.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 13:32:36 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-05 13:32:36 +0200
commitd1e2da48ff1158c84bab62aba3e62ff16f24f124 (patch)
tree14c2b461b84ab1c07ab39fbe3a80aa69c7b4c8ef /pyload/plugins/crypter/OneKhDe.py
parentFix refs on hook plugins + add missing __init__ files (diff)
parentRemove old Ev0InFetcher hook (diff)
downloadpyload-d1e2da48ff1158c84bab62aba3e62ff16f24f124.tar.xz
Merge branch 'stable' into 0.4.10
Conflicts: module/plugins/internal/CaptchaService.py pyload/plugins/account/CyberlockerCh.py pyload/plugins/account/EgoFilesCom.py pyload/plugins/account/HotfileCom.py pyload/plugins/crypter/HotfileFolderCom.py pyload/plugins/crypter/LinkSaveIn.py pyload/plugins/crypter/OneKhDe.py pyload/plugins/hoster/EgoFilesCom.py pyload/plugins/internal/XFSPAccount.py
Diffstat (limited to 'pyload/plugins/crypter/OneKhDe.py')
-rw-r--r--pyload/plugins/crypter/OneKhDe.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/pyload/plugins/crypter/OneKhDe.py b/pyload/plugins/crypter/OneKhDe.py
index 4f5592fb8..b39504628 100644
--- a/pyload/plugins/crypter/OneKhDe.py
+++ b/pyload/plugins/crypter/OneKhDe.py
@@ -30,9 +30,8 @@ class OneKhDe(Crypter):
def proceed(self, url, location):
url = self.parent.url
- self.html = self.req.load(url)
+ self.html = self.load(url)
link_ids = re.findall(r"<a id=\"DownloadLink_(\d*)\" href=\"http://1kh.de/", self.html)
for id in link_ids:
- new_link = html_unescape(
- re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.req.load("http://1kh.de/l/" + id)).group(1))
+ new_link = html_unescape(re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.load("http://1kh.de/l/" + id)).group(1))
self.urls.append(new_link)