diff options
author | 2014-12-10 19:07:53 +0100 | |
---|---|---|
committer | 2014-12-10 19:07:53 +0100 | |
commit | 2439bc22671dde697817291b721bfddb792a93b4 (patch) | |
tree | dad4615b7f1d664263af6a85392282329aa0b8e0 /pyload/plugins/crypter/TusfilesNet.py | |
parent | Revert plugin directory structure (diff) | |
download | pyload-2439bc22671dde697817291b721bfddb792a93b4.tar.xz |
Fix plugins key attributes
Diffstat (limited to 'pyload/plugins/crypter/TusfilesNet.py')
-rw-r--r-- | pyload/plugins/crypter/TusfilesNet.py | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/pyload/plugins/crypter/TusfilesNet.py b/pyload/plugins/crypter/TusfilesNet.py index ef00ba440..fbd5de8d3 100644 --- a/pyload/plugins/crypter/TusfilesNet.py +++ b/pyload/plugins/crypter/TusfilesNet.py @@ -8,17 +8,17 @@ from pyload.plugins.internal.XFSCrypter import XFSCrypter class TusfilesNet(XFSCrypter): - __name__ = "TusfilesNet" - __type__ = "crypter" - __version__ = "0.07" + __name = "TusfilesNet" + __type = "crypter" + __version = "0.07" - __pattern__ = r'https?://(?:www\.)?tusfiles\.net/go/(?P<ID>\w+)' - __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), + __pattern = r'https?://(?:www\.)?tusfiles\.net/go/(?P<ID>\w+)' + __config = [("use_subfolder", "bool", "Save package to subfolder", True), ("subfolder_per_package", "bool", "Create a subfolder for each package", True)] - __description__ = """Tusfiles.net folder decrypter plugin""" - __license__ = "GPLv3" - __authors__ = [("Walter Purcaro", "vuolter@gmail.com"), + __description = """Tusfiles.net folder decrypter plugin""" + __license = "GPLv3" + __authors = [("Walter Purcaro", "vuolter@gmail.com"), ("stickell", "l.stickell@yahoo.it")] @@ -26,7 +26,7 @@ class TusfilesNet(XFSCrypter): PAGES_PATTERN = r'>\((\d+) \w+\)<' - URL_REPLACEMENTS = [(__pattern__ + ".*", r'https://www.tusfiles.net/go/\g<ID>/')] + URL_REPLACEMENTS = [(__pattern + ".*", r'https://www.tusfiles.net/go/\g<ID>/')] def loadPage(self, page_n): |