summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-04-11 11:48:43 +0200
committerGravatar Stefano <l.stickell@yahoo.it> 2014-04-21 17:15:26 +0200
commitbdbb3c7566c03ea05defb017e583d1eab1175609 (patch)
treedc3cbdec2806dd3414ca01c2ad98936adbfd9a6a
parentXFileSharingPro: FILE_SIZE_PATTERN updated (diff)
downloadpyload-bdbb3c7566c03ea05defb017e583d1eab1175609.tar.xz
RyushareCom: FILE_SIZE_PATTERN fixed
Merges vuolter/pyload@6bb3f6e (cherry picked from commit 6bb9e9c76a588cad73a7f8b10d000f356e3a18d4)
-rw-r--r--pyload/plugins/hoster/RyushareCom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/RyushareCom.py b/pyload/plugins/hoster/RyushareCom.py
index 77efa0081..cb85f6f4a 100644
--- a/pyload/plugins/hoster/RyushareCom.py
+++ b/pyload/plugins/hoster/RyushareCom.py
@@ -13,13 +13,15 @@ class RyushareCom(XFileSharingPro):
__name__ = "RyushareCom"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?ryushare\.com/\w+"
- __version__ = "0.14"
+ __version__ = "0.15"
__description__ = """ryushare.com hoster plugin"""
__author_name__ = ("zoidberg", "stickell", "quareevo")
__author_mail__ = ("zoidberg@mujmail.cz", "l.stickell@yahoo.it", "quareevo@arcor.de")
HOSTER_NAME = "ryushare.com"
+ FILE_SIZE_PATTERN = r'You have requested <font color="red">[^<]+</font> \((?P<S>[\d\.]+) (?P<U>\w+)'
+
WAIT_PATTERN = r'You have to wait ((?P<hour>\d+) hour[s]?, )?((?P<min>\d+) minute[s], )?(?P<sec>\d+) second[s]'
DIRECT_LINK_PATTERN = r'(http://([^/]*?ryushare.com|\d+\.\d+\.\d+\.\d+)(:\d+/d/|/files/\w+/\w+/)[^"\'<]+)'
SOLVEMEDIA_PATTERN = r'http:\/\/api\.solvemedia\.com\/papi\/challenge\.script\?k=(.*?)"'