summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/EmbeduploadCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/crypter/EmbeduploadCom.py')
-rw-r--r--module/plugins/crypter/EmbeduploadCom.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/EmbeduploadCom.py b/module/plugins/crypter/EmbeduploadCom.py
index fbccf71aa..6126527a9 100644
--- a/module/plugins/crypter/EmbeduploadCom.py
+++ b/module/plugins/crypter/EmbeduploadCom.py
@@ -7,17 +7,20 @@ from module.network.HTTPRequest import BadHeader
class EmbeduploadCom(Crypter):
__name__ = "EmbeduploadCom"
+ __version__ = "0.02"
__type__ = "crypter"
+
__pattern__ = r'http://(?:www\.)?embedupload.com/\?d=.*'
- __version__ = "0.02"
- __description__ = """EmbedUpload.com decrypter plugin"""
__config__ = [("preferedHoster", "str", "Prefered hoster list (bar-separated) ", "embedupload"),
("ignoredHoster", "str", "Ignored hoster list (bar-separated) ", "")]
+
+ __description__ = """EmbedUpload.com decrypter plugin"""
__author_name__ = "zoidberg"
__author_mail__ = "zoidberg@mujmail.cz"
LINK_PATTERN = r'<div id="([^"]+)"[^>]*>\s*<a href="([^"]+)" target="_blank" (?:class="DownloadNow"|style="color:red")>'
+
def decrypt(self, pyfile):
self.html = self.load(pyfile.url, decode=True)
tmp_links = []