summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/OneKhDe.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/OneKhDe.py')
-rw-r--r--module/plugins/crypter/OneKhDe.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py
index b370df1f7..91c591ec1 100644
--- a/module/plugins/crypter/OneKhDe.py
+++ b/module/plugins/crypter/OneKhDe.py
@@ -31,10 +31,8 @@ class OneKhDe(Crypter):
def proceed(self, url, location):
url = self.parent.url
self.html = self.req.load(url)
- temp_links = []
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))
- temp_links.append(new_link)
- self.links = temp_links
+ self.urls.append(new_link)