summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster
diff options
context:
space:
mode:
authorGravatar estaban <babedoudi@yahoo.fr> 2015-08-14 18:50:45 +0200
committerGravatar estaban <babedoudi@yahoo.fr> 2015-08-14 18:50:45 +0200
commit50887266a48f11559591790fb0ab4e743d3bced5 (patch)
tree755f0d8e5fc47cde21c777ce4e9181274bbb5711 /module/plugins/hoster
parentFix https://github.com/pyload/pyload/issues/1707 (diff)
downloadpyload-50887266a48f11559591790fb0ab4e743d3bced5.tar.xz
File name not found on OneFichier
Updated regexp, website now displays "File Name" instead of "FileName".
Diffstat (limited to 'module/plugins/hoster')
-rw-r--r--module/plugins/hoster/OneFichierCom.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index c564dc677..f8b8e2f2a 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -28,7 +28,7 @@ class OneFichierCom(SimpleHoster):
COOKIES = [("1fichier.com", "LG", "en")]
- NAME_PATTERN = r'>FileName :</td>\s*<td.*>(?P<N>.+?)<'
+ NAME_PATTERN = r'>File\s*Name :</td>\s*<td.*>(?P<N>.+?)<'
SIZE_PATTERN = r'>Size :</td>\s*<td.*>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
OFFLINE_PATTERN = r'File not found !\s*<'