diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-10 02:06:59 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-10 02:06:59 +0200 |
commit | 4b13b91a9d51ad25075c93a1dfdf2da8b41c1d9e (patch) | |
tree | 7612c6f192b00c636504a90d3edf6e7a8abaed27 | |
parent | Merge pull request #1994 from GammaC0de/patch-3 (diff) | |
parent | Update OneFichierCom.py (diff) | |
download | pyload-4b13b91a9d51ad25075c93a1dfdf2da8b41c1d9e.tar.xz |
Merge pull request #1995 from GammaC0de/patch-3
Update OneFichierCom.py
-rw-r--r-- | module/plugins/hoster/OneFichierCom.py | 5 |
1 files 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<ID1>\w+)\.)?(?P<HOST>1fichier\.com|alterupload\.com|cjoint\.net|d(es)?fichiers\.com|dl4free\.com|megadl\.fr|mesfichiers\.org|piecejointe\.net|pjointe\.com|tenvoi\.com)(?:/\?(?P<ID2>\w+))?' + __pattern__ = r'https?://(?:www\.)?(?:\w+\.)?(?P<HOST>1fichier\.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: |