summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-01 04:53:19 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-10-01 04:53:19 +0200
commita9df6627d1df9786a47cd7cdc834dd4e509a9208 (patch)
treee0dd71707f3980c141f23753f6870b9362ccaa03 /module/plugins/hoster/OneFichierCom.py
parent[OneFichierCom] Fixed wait pattern + code optimizations (diff)
downloadpyload-a9df6627d1df9786a47cd7cdc834dd4e509a9208.tar.xz
[OneFichierCom] Bump version number
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r--module/plugins/hoster/OneFichierCom.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index 984e2bb2d..fc40a1874 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -8,7 +8,7 @@ from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
class OneFichierCom(SimpleHoster):
__name__ = "OneFichierCom"
__type__ = "hoster"
- __version__ = "0.61"
+ __version__ = "0.62"
__pattern__ = r'https?://(?P<ID>\w+)\.(?P<HOST>(1fichier|d(es)?fichiers|pjointe)\.(com|fr|net|org)|(cjoint|mesfichiers|piecejointe|oi)\.(org|net)|tenvoi\.(com|org|net)|dl4free\.com|alterupload\.com|megadl\.fr)'
@@ -22,8 +22,7 @@ class OneFichierCom(SimpleHoster):
FILE_SIZE_PATTERN = r'>Size :</th>\s*<td>(?P<S>[\d.,]+) (?P<U>\w+)'
OFFLINE_PATTERN = r'>The (requested)? file (could not be found|has been deleted)'
- FILE_URL_REPLACEMENTS = [(__pattern__, r'http://\g<ID>.\g<HOST>/')]
- COOKIES = [(".1fichier.com", "LG", "en")]
+ FILE_URL_REPLACEMENTS = [(__pattern__, r'http://\g<ID>.\g<HOST>/en/')]
WAIT_PATTERN = r'>You must wait (\d+)'