diff options
author | Stefano <l.stickell@yahoo.it> | 2013-07-21 15:03:21 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-07-21 15:43:18 +0200 |
commit | ff581d9a4a1637b4e06bcbe77d67591f9279fe1b (patch) | |
tree | 0be4883b505aecc6920bdfccfcc9672636d59691 /pyload/plugins/crypter/OneKhDe.py | |
parent | Improved .gitattributes (diff) | |
download | pyload-ff581d9a4a1637b4e06bcbe77d67591f9279fe1b.tar.xz |
Fixed PEP 8 violations in Crypters
(cherry-picked from 4b61d36bf18931df0a9720047b3619ce245f8a1b)
Diffstat (limited to 'pyload/plugins/crypter/OneKhDe.py')
-rw-r--r-- | pyload/plugins/crypter/OneKhDe.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pyload/plugins/crypter/OneKhDe.py b/pyload/plugins/crypter/OneKhDe.py index c77203187..a2e6d039e 100644 --- a/pyload/plugins/crypter/OneKhDe.py +++ b/pyload/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"<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)) + 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 |