diff options
Diffstat (limited to 'module/plugins/crypter/OneKhDe.py')
-rw-r--r-- | module/plugins/crypter/OneKhDe.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py index 2d90afd96..a45d7dbff 100644 --- a/module/plugins/crypter/OneKhDe.py +++ b/module/plugins/crypter/OneKhDe.py @@ -2,9 +2,8 @@ import re -from module.unescape import unescape - from module.plugins.internal.Crypter import Crypter +from module.utils import html_unescape class OneKhDe(Crypter): @@ -27,7 +26,8 @@ class OneKhDe(Crypter): def file_exists(self): - """ returns True or False + """ + Returns True or False """ return True @@ -37,6 +37,6 @@ class OneKhDe(Crypter): 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( + new_link = html_unescape( re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.load("http://1kh.de/l/" + id)).group(1)) self.urls.append(new_link) |