summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/OneFichierCom.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-10 21:28:55 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-03-10 21:28:55 +0100
commita72745bd08c40e0e927899f32cd2e03236ce5785 (patch)
tree4ef2a95e856dd6c081018c1e3091cd1d789ab78f /module/plugins/hoster/OneFichierCom.py
parentNew hoster: Tusfiles.net (diff)
parentIncremented version & added author. (diff)
downloadpyload-a72745bd08c40e0e927899f32cd2e03236ce5785.tar.xz
Merge pull request #40 from imclem/stable
Fixing OneFichierCom from user plugins
Diffstat (limited to 'module/plugins/hoster/OneFichierCom.py')
-rw-r--r--module/plugins/hoster/OneFichierCom.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/module/plugins/hoster/OneFichierCom.py b/module/plugins/hoster/OneFichierCom.py
index 3a4ff7275..46323d829 100644
--- a/module/plugins/hoster/OneFichierCom.py
+++ b/module/plugins/hoster/OneFichierCom.py
@@ -7,10 +7,11 @@ class OneFichierCom(SimpleHoster):
__name__ = "OneFichierCom"
__type__ = "hoster"
__pattern__ = r"(http://(\w+)\.((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))"
- __version__ = "0.44"
+ __version__ = "0.45"
__description__ = """1fichier.com download hoster"""
- __author_name__ = ("fragonib", "the-razer", "zoidberg")
- __author_mail__ = ("fragonib[AT]yahoo[DOT]es", "daniel_ AT gmx DOT net", "zoidberg@mujmail.cz")
+ __author_name__ = ("fragonib", "the-razer", "zoidberg","imclem")
+ __author_mail__ = ("fragonib[AT]yahoo[DOT]es", "daniel_ AT gmx DOT net",
+ "zoidberg@mujmail.cz","imclem on github")
FILE_NAME_PATTERN = r'">File name :</th>\s*<td>(?P<N>[^<]+)</td>'
FILE_SIZE_PATTERN = r'<th>File size :</th>\s*<td>(?P<S>[^<]+)</td>'
@@ -19,8 +20,7 @@ class OneFichierCom(SimpleHoster):
DOWNLOAD_LINK_PATTERN = r'<br/>&nbsp;<br/>&nbsp;<br/>&nbsp;\s+<a href="(?P<url>http://.*?)"'
PASSWORD_PROTECTED_TOKEN = "protected by password"
- WAITING_PATTERN = "you must wait (\d+) minutes"
-
+ WAITING_PATTERN = "Warning ! Without premium status, you can download only one file at a time and you must wait at least (\d+) minutes between each downloads."
def process(self, pyfile):
found = re.search(self.__pattern__, pyfile.url)
file_id = found.group(2)