diff options
Diffstat (limited to 'module/plugins/crypter/OneKhDe.py')
-rw-r--r-- | module/plugins/crypter/OneKhDe.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/crypter/OneKhDe.py b/module/plugins/crypter/OneKhDe.py index 3e75d97b5..323214df8 100644 --- a/module/plugins/crypter/OneKhDe.py +++ b/module/plugins/crypter/OneKhDe.py @@ -2,9 +2,9 @@ import re -from module.unescape import unescape +from pyload.utils import html_unescape -from module.plugins.Crypter import Crypter +from pyload.plugin.Crypter import Crypter class OneKhDe(Crypter): @@ -37,6 +37,5 @@ 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( - re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.load("http://1kh.de/l/" + id)).group(1)) + new_link = html_unescape(re.search("width=\"100%\" src=\"(.*)\"></iframe>", self.load("http://1kh.de/l/" + id)).group(1)) self.urls.append(new_link) |