diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-12-03 14:47:12 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-12-03 14:47:12 +0100 |
commit | 809760324bba667ae725c7fdd68a0ab86baddcd9 (patch) | |
tree | 612fe25ab94e6f222a96d5aa331cf5d73c138e49 /module/plugins/hoster | |
parent | Fix https://github.com/pyload/pyload/issues/943 (diff) | |
download | pyload-809760324bba667ae725c7fdd68a0ab86baddcd9.tar.xz |
[FilerNet] Fix https://github.com/pyload/pyload/issues/897
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r-- | module/plugins/hoster/FilerNet.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/FilerNet.py b/module/plugins/hoster/FilerNet.py index 3bfafc675..d9876c573 100644 --- a/module/plugins/hoster/FilerNet.py +++ b/module/plugins/hoster/FilerNet.py @@ -16,7 +16,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class FilerNet(SimpleHoster): __name__ = "FilerNet" __type__ = "hoster" - __version__ = "0.07" + __version__ = "0.08" __pattern__ = r'https?://(?:www\.)?filer\.net/get/\w+' @@ -39,7 +39,7 @@ class FilerNet(SimpleHoster): self.html = self.load(self.pyfile.url, decode=True) - inputs = self.parseHtmlForm(input_names='token')[1] + inputs = self.parseHtmlForm(input_names={'token': re.compile(r'.+')})[1] if 'token' not in inputs: self.error(_("Unable to detect token")) token = inputs['token'] @@ -47,7 +47,7 @@ class FilerNet(SimpleHoster): self.html = self.load(self.pyfile.url, post={'token': token}, decode=True) - inputs = self.parseHtmlForm(input_names='hash')[1] + inputs = self.parseHtmlForm(input_names={'hash': re.compile(r'.+')})[1] if 'hash' not in inputs: self.error(_("Unable to detect hash")) hash_data = inputs['hash'] |