diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:42:24 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-07-05 16:42:24 +0200 |
commit | 15362ebceaee1eb66920d4822d2faa947151e74a (patch) | |
tree | 5ee1b2203cf208d8fcf80b135ca4ebb70de00f90 /module/plugins/crypter/TusfilesNetFolder.py | |
parent | [DailymotionCom] Default quality changed to "Highest" (diff) | |
download | pyload-15362ebceaee1eb66920d4822d2faa947151e74a.tar.xz |
[SimpleCrypter] Better inline docs + support for offline & temp.offline check
Diffstat (limited to 'module/plugins/crypter/TusfilesNetFolder.py')
-rw-r--r-- | module/plugins/crypter/TusfilesNetFolder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/TusfilesNetFolder.py b/module/plugins/crypter/TusfilesNetFolder.py index 0bc770f99..5ee32379d 100644 --- a/module/plugins/crypter/TusfilesNetFolder.py +++ b/module/plugins/crypter/TusfilesNetFolder.py @@ -27,7 +27,7 @@ class TusfilesNetFolder(SimpleCrypter): __name__ = "TusfilesNetFolder" __type__ = "crypter" __pattern__ = r'https?://(?:www\.)?tusfiles\.net/go/(?P<ID>\w+)/?' - __version__ = "0.01" + __version__ = "0.02" __description__ = """Tusfiles.net folder decrypter plugin""" __author_name__ = ("Walter Purcaro", "stickell") __author_mail__ = ("vuolter@gmail.com", "l.stickell@yahoo.it") @@ -36,7 +36,7 @@ class TusfilesNetFolder(SimpleCrypter): TITLE_PATTERN = r'<Title>.*?\: (?P<title>.+) folder</Title>' PAGES_PATTERN = r'>\((?P<pages>\d+) \w+\)<' - FILE_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): return self.load(urljoin(self.pyfile.url, str(page_n)), decode=True) |