diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-09 23:18:03 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-09 23:18:03 +0200 |
commit | 928e93f8c12e24463feaa7b1cec56dc5c2422149 (patch) | |
tree | 7d1d056e7bc6d3358cc06a37ff7aa191500a1497 /module/plugins/hoster/OneFichierCom.py | |
parent | Fix https://github.com/pyload/pyload/issues/1962 (and many other tickets) (diff) | |
parent | Correction of bug KeyError: 'ID' in OneFichierCom.py. (diff) | |
download | pyload-928e93f8c12e24463feaa7b1cec56dc5c2422149.tar.xz |
Merge pull request #1989 from thadrien/pull-request-OneFichierCom-1
Correction of bug KeyError: 'ID' in OneFichierCom.py.
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index e7f2602a0..9ed90828c 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -99,8 +99,8 @@ class OneFichierCom(SimpleHoster): def handle_free(self, pyfile): self.check_errors() - id = self.info['pattern']['ID1'] or self.info['pattern']['ID2'] - url, inputs = self.parse_html_form('action="https://1fichier.com/\?%s' % id) + id = self.info['pattern']['N'] # Check me : should this one be the file name or the onefichier name ??? + url, inputs = self.parse_html_form('action="https://1fichier.com/\?[a-zA-Z0-9]+') if not url: return |