diff options
author | Stefano <l.stickell@yahoo.it> | 2013-03-08 21:11:53 +0100 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2013-03-08 21:11:53 +0100 |
commit | 2b1a2f6a7b904ec3affeb08076f7e7bf0f68e8c1 (patch) | |
tree | 50913e436f1ff88c3c228eaefe56a48339cb368a | |
parent | New hoster: EgoFilesCom (diff) | |
download | pyload-2b1a2f6a7b904ec3affeb08076f7e7bf0f68e8c1.tar.xz |
EgoFilesCom: added ability to detect offline files
-rw-r--r-- | module/plugins/hoster/EgoFilesCom.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/module/plugins/hoster/EgoFilesCom.py b/module/plugins/hoster/EgoFilesCom.py index 376b1fd5b..61203f9bd 100644 --- a/module/plugins/hoster/EgoFilesCom.py +++ b/module/plugins/hoster/EgoFilesCom.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*-
-from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo, parseFileInfo
+from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
from module.plugins.ReCaptcha import ReCaptcha
import re
@@ -13,12 +13,13 @@ class EgoFilesCom(SimpleHoster): __name__ = "EgoFilesCom"
__type__ = "hoster"
__pattern__ = r"https?://(www\.)?egofiles.com/(\w+)"
- __version__ = "0.01"
+ __version__ = "0.02"
__description__ = """Egofiles.com Download Hoster"""
__author_name__ = ("stickell")
__author_mail__ = ("l.stickell@yahoo.it")
FILE_INFO_PATTERN = r'<div class="down-file">\s+(?P<N>\S+)\s+<div class="file-properties">\s+File size: (?P<S>[\w.]+) (?P<U>\w+) \|'
+ FILE_OFFLINE_PATTERN = r'File size: 0 KB'
WAIT_TIME_PATTERN = r'For next free download you have to wait <strong>((?P<m>\d*)m)? ?((?P<s>\d+)s)?</strong>'
RECAPTCHA_KEY = '6LeXatQSAAAAAHezcjXyWAni-4t302TeYe7_gfvX'
|