diff options
Diffstat (limited to 'module/plugins/crypter/FilerNet.py')
-rw-r--r-- | module/plugins/crypter/FilerNet.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/module/plugins/crypter/FilerNet.py b/module/plugins/crypter/FilerNet.py index 069698bf1..054c8d3a7 100644 --- a/module/plugins/crypter/FilerNet.py +++ b/module/plugins/crypter/FilerNet.py @@ -1,12 +1,12 @@ import re -from pyload.plugin.internal.SimpleCrypter import SimpleCrypter +from module.plugins.internal.SimpleCrypter import SimpleCrypter class FilerNet(SimpleCrypter): __name__ = "FilerNet" __type__ = "crypter" - __version__ = "0.41" + __version__ = "0.42" __pattern__ = r'https?://filer\.net/folder/\w{16}' __config__ = [("use_subfolder", "bool", "Save package to subfolder", True), @@ -19,8 +19,9 @@ class FilerNet(SimpleCrypter): LINK_PATTERN = r'href="(/get/\w{16})">(?!<)' - NAME_PATTERN = r'<h3>(?P<N>.+?) - <small' + NAME_PATTERN = r'<h3>(?P<N>.+?) - <small' + OFFLINE_PATTERN = r'Nicht gefunden' - def getLinks(self): - return ['http://filer.net%s' % link for link in re.findall(self.LINK_PATTERN, self.html)] + +getInfo = create_getInfo(FilerNetFolder) |