summaryrefslogtreecommitdiffstats
path: root/module/plugins/crypter/TusfilesNetFolder.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-31 00:05:39 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-12-31 00:05:39 +0100
commitbe51f9235eb555be07b9d5cc0a34c73b75ac0cfe (patch)
tree6c784133c1af5caf959ef13ef8e43c4f12dfd003 /module/plugins/crypter/TusfilesNetFolder.py
parent[SimpleHoster] Clean lastDownload when download fails (diff)
downloadpyload-be51f9235eb555be07b9d5cc0a34c73b75ac0cfe.tar.xz
Handle methods get pyfile argument
Diffstat (limited to 'module/plugins/crypter/TusfilesNetFolder.py')
-rw-r--r--module/plugins/crypter/TusfilesNetFolder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/crypter/TusfilesNetFolder.py b/module/plugins/crypter/TusfilesNetFolder.py
index 0db3470cc..20bed0ab1 100644
--- a/module/plugins/crypter/TusfilesNetFolder.py
+++ b/module/plugins/crypter/TusfilesNetFolder.py
@@ -10,7 +10,7 @@ from module.plugins.internal.XFSCrypter import XFSCrypter, create_getInfo
class TusfilesNetFolder(XFSCrypter):
__name__ = "TusfilesNetFolder"
__type__ = "crypter"
- __version__ = "0.07"
+ __version__ = "0.08"
__pattern__ = r'https?://(?:www\.)?tusfiles\.net/go/(?P<ID>\w+)'
__config__ = [("use_subfolder", "bool", "Save package to subfolder", True),
@@ -33,7 +33,7 @@ class TusfilesNetFolder(XFSCrypter):
return self.load(urljoin(self.pyfile.url, str(page_n)), decode=True)
- def handleMultiPages(self):
+ def handlePages(self, pyfile):
pages = re.search(self.PAGES_PATTERN, self.html)
if pages:
pages = int(math.ceil(int(pages.group('pages')) / 25.0))