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/UlozToFolder.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/UlozToFolder.py')
-rw-r--r-- | module/plugins/crypter/UlozToFolder.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/crypter/UlozToFolder.py b/module/plugins/crypter/UlozToFolder.py index 6c7729fee..6ba4b0819 100644 --- a/module/plugins/crypter/UlozToFolder.py +++ b/module/plugins/crypter/UlozToFolder.py @@ -6,9 +6,11 @@ from module.plugins.Crypter import Crypter class UlozToFolder(Crypter): __name__ = "UlozToFolder" + __version__ = "0.2" __type__ = "crypter" + __pattern__ = r'http://(?:www\.)?(uloz\.to|ulozto\.(cz|sk|net)|bagruj.cz|zachowajto.pl)/(m|soubory)/.*' - __version__ = "0.2" + __description__ = """Uloz.to folder decrypter plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" @@ -17,6 +19,7 @@ class UlozToFolder(Crypter): LINK_PATTERN = r'<br /><a href="/([^"]+)">[^<]+</a>' NEXT_PAGE_PATTERN = r'<a class="next " href="/([^"]+)"> </a>' + def decrypt(self, pyfile): html = self.load(pyfile.url) |