diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 05:31:56 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 05:31:56 +0100 |
commit | ed4dd7c759a48f5fa8a4411292cd12a06f662d68 (patch) | |
tree | bcd775fc9cba45a65b190f93aaa6c2b860511a22 /module/plugins | |
parent | [SimpleHoster] Fixup (diff) | |
download | pyload-ed4dd7c759a48f5fa8a4411292cd12a06f662d68.tar.xz |
[RarefileNet] Restore NAME_PATTERN and SIZE_PATTERN
Diffstat (limited to 'module/plugins')
-rw-r--r-- | module/plugins/hoster/RarefileNet.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hoster/RarefileNet.py b/module/plugins/hoster/RarefileNet.py index 8c6ec43a2..987028c8f 100644 --- a/module/plugins/hoster/RarefileNet.py +++ b/module/plugins/hoster/RarefileNet.py @@ -8,7 +8,7 @@ from module.plugins.internal.XFSHoster import XFSHoster, create_getInfo class RarefileNet(XFSHoster): __name__ = "RarefileNet" __type__ = "hoster" - __version__ = "0.07" + __version__ = "0.08" __pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}' @@ -19,6 +19,9 @@ class RarefileNet(XFSHoster): HOSTER_DOMAIN = "rarefile.net" + NAME_PATTERN = r'<font color="red">(?P<N>.+?)<' + SIZE_PATTERN = r'>Size : (?P<S>[\d.,]+) (?P<U>[\w^_]+)' + LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>' |