diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-10-05 01:54:58 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-10-05 02:27:36 +0200 |
commit | 1047c706d41dec4a49a747496c2ec01ed3bf7801 (patch) | |
tree | cd369358c18bc19090a3cc2d8c63e796bf5d9be6 /module/plugins/crypter/OneKhDe.py | |
parent | [LinkSaveIn] Now SimpleCrypter based (diff) | |
download | pyload-1047c706d41dec4a49a747496c2ec01ed3bf7801.tar.xz |
Use load instead req.load in all crypters and CaptchaService
Diffstat (limited to 'module/plugins/crypter/OneKhDe.py')
-rw-r--r-- | module/plugins/crypter/OneKhDe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py index ba93278d5..4b22432f8 100644 --- a/module/plugins/crypter/OneKhDe.py +++ b/module/plugins/crypter/OneKhDe.py @@ -30,9 +30,9 @@ 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 = unescape( - re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.req.load("http://1kh.de/l/" + id)).group(1)) + re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.load("http://1kh.de/l/" + id)).group(1)) self.urls.append(new_link) |