diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 16:50:29 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-09-28 16:50:29 +0200 |
commit | 390f7deca39ba14f698b3c56660eee2a5502b79a (patch) | |
tree | 9fa95eaa5b0ab439d11dba8977266294154cdd8b /module/plugins/hoster/RarefileNet.py | |
parent | [DeadHoster] Improve getInfo + two hosters mark dead (diff) | |
download | pyload-390f7deca39ba14f698b3c56660eee2a5502b79a.tar.xz |
Cleaned-up XFileSharingPro based plugins
Diffstat (limited to 'module/plugins/hoster/RarefileNet.py')
-rw-r--r-- | module/plugins/hoster/RarefileNet.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/module/plugins/hoster/RarefileNet.py b/module/plugins/hoster/RarefileNet.py index 51df5c882..9148ee24e 100644 --- a/module/plugins/hoster/RarefileNet.py +++ b/module/plugins/hoster/RarefileNet.py @@ -11,21 +11,20 @@ class RarefileNet(XFileSharingPro): __type__ = "hoster" __version__ = "0.03" - __pattern__ = r'http://(?:www\.)?rarefile.net/\w{12}' + __pattern__ = r'http://(?:www\.)?rarefile\.net/\w{12}' __description__ = """Rarefile.net hoster plugin""" __author_name__ = "zoidberg" __author_mail__ = "zoidberg@mujmail.cz" + HOSTER_NAME = "rarefile.net" FILE_NAME_PATTERN = r'<td><font color="red">(?P<N>.*?)</font></td>' FILE_SIZE_PATTERN = r'<td>Size : (?P<S>.+?) ' - LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>' + LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>' - def setup(self): - self.resumeDownload = self.multiDL = self.premium def handleCaptcha(self, inputs): captcha_div = re.search(r'<b>Enter code.*?<div.*?>(.*?)</div>', self.html, re.S).group(1) |