From 4b61d36bf18931df0a9720047b3619ce245f8a1b Mon Sep 17 00:00:00 2001 From: Stefano Date: Sun, 21 Jul 2013 15:03:21 +0200 Subject: Fixed PEP 8 violations in Crypters --- module/plugins/crypter/OneKhDe.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'module/plugins/crypter/OneKhDe.py') diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py index c77203187..a2e6d039e 100644 --- a/module/plugins/crypter/OneKhDe.py +++ b/module/plugins/crypter/OneKhDe.py @@ -6,6 +6,7 @@ import re from module.unescape import unescape from module.plugins.Crypter import Crypter + class OneKhDe(Crypter): __name__ = "OneKhDe" __type__ = "container" @@ -31,6 +32,7 @@ class OneKhDe(Crypter): temp_links = [] link_ids = re.findall(r"", self.req.load("http://1kh.de/l/" + id)).group(1)) + new_link = unescape( + re.search("width=\"100%\" src=\"(.*)\">", self.req.load("http://1kh.de/l/" + id)).group(1)) temp_links.append(new_link) self.links = temp_links -- cgit v1.2.3