summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r--module/plugins/hoster/OneFichierCom.py4
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