diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:27:44 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-15 16:27:44 +0200 |
commit | 8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd (patch) | |
tree | 518c204aa8edbc8b0d33fe1aaa614e539438fae9 /module/plugins/crypter/MultiuploadCom.py | |
parent | Prefer single quote for dict key name (diff) | |
download | pyload-8e47b0de30a25d0fd5dfb518bfe4e1e7beff93fd.tar.xz |
Key attributes cleanup for account, container and crypter plugins
Diffstat (limited to 'module/plugins/crypter/MultiuploadCom.py')
-rw-r--r-- | module/plugins/crypter/MultiuploadCom.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/module/plugins/crypter/MultiuploadCom.py b/module/plugins/crypter/MultiuploadCom.py index 677080772..cdc685fab 100644 --- a/module/plugins/crypter/MultiuploadCom.py +++ b/module/plugins/crypter/MultiuploadCom.py @@ -9,17 +9,20 @@ from module.common.json_layer import json_loads class MultiuploadCom(Crypter): __name__ = "MultiuploadCom" + __version__ = "0.01" __type__ = "crypter" + __pattern__ = r'http://(?:www\.)?multiupload.com/(\w+)' - __version__ = "0.01" - __description__ = """MultiUpload.com decrypter plugin""" __config__ = [("preferedHoster", "str", "Prefered hoster list (bar-separated) ", "multiupload"), ("ignoredHoster", "str", "Ignored hoster list (bar-separated) ", "")] + + __description__ = """MultiUpload.com decrypter plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" ML_LINK_PATTERN = r'<div id="downloadbutton_" style=""><a href="([^"]+)"' + def decrypt(self, pyfile): self.html = self.load(pyfile.url) found = re.search(self.ML_LINK_PATTERN, self.html) |