From 6366702ce4f0228f8c22ff395679e8dc1933f5d9 Mon Sep 17 00:00:00 2001 From: GammaC0de Date: Sat, 10 Oct 2015 01:30:11 +0300 Subject: Update OneFichierCom.py --- module/plugins/hoster/OneFichierCom.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py index 9ed90828c..a8e7f6dc8 100644 --- a/module/plugins/hoster/OneFichierCom.py +++ b/module/plugins/hoster/OneFichierCom.py @@ -9,10 +9,10 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo class OneFichierCom(SimpleHoster): __name__ = "OneFichierCom" __type__ = "hoster" - __version__ = "0.91" + __version__ = "0.92" __status__ = "testing" - __pattern__ = r'https?://(?:www\.)?(?:(?P\w+)\.)?(?P1fichier\.com|alterupload\.com|cjoint\.net|d(es)?fichiers\.com|dl4free\.com|megadl\.fr|mesfichiers\.org|piecejointe\.net|pjointe\.com|tenvoi\.com)(?:/\?(?P\w+))?' + __pattern__ = r'https?://(?:www\.)?(?:\w+\.)?(?P1fichier\.com|alterupload\.com|cjoint\.net|d(es)?fichiers\.com|dl4free\.com|megadl\.fr|mesfichiers\.org|piecejointe\.net|pjointe\.com|tenvoi\.com)(?:/\?\w+)?' __config__ = [("use_premium", "bool", "Use premium account if available", True)] __description__ = """1fichier.com hoster plugin""" @@ -99,7 +99,6 @@ class OneFichierCom(SimpleHoster): def handle_free(self, pyfile): self.check_errors() - 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: -- cgit v1.2.3