summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-02 22:47:07 +0100
commit772e47ef806d18fd209e910be0535bce7c07dc7b (patch)
treedc6c2027e6e306da70817be917a7c426dc8fd044 /module/plugins/hoster/OneFichierCom.py
parent[LetitbitNet][Share4webCom][UnibytesCom] https support + use urljoin + update... (diff)
downloadpyload-772e47ef806d18fd209e910be0535bce7c07dc7b.tar.xz
Update all other plugins
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r--module/plugins/hoster/OneFichierCom.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index 005279a6b..1b8be7eed 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -22,11 +22,11 @@ class OneFichierCom(SimpleHoster):
("Elrick69", "elrick69[AT]rocketmail[DOT]com")]
- FILE_NAME_PATTERN = r'>Filename :</th>\s*<td>(?P<N>.+?)<'
- FILE_SIZE_PATTERN = r'>Size :</th>\s*<td>(?P<S>[\d.,]+) (?P<U>[\w^_]+)'
+ NAME_PATTERN = r'>Filename :</th>\s*<td>(?P<N>.+?)<'
+ 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>/en/')]
+ URL_REPLACEMENTS = [(__pattern__, r'http://\g<ID>.\g<HOST>/en/')]
WAIT_PATTERN = r'>You must wait (\d+)'