diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-04-11 12:21:37 +0200 |
---|---|---|
committer | Stefano <l.stickell@yahoo.it> | 2014-04-21 17:20:49 +0200 |
commit | c7b21dbabe0d04668eae1c26db61b5e63d5ae774 (patch) | |
tree | fccdcdd2bb4f687d8888e9da4b9de5f68773bf71 /pyload/plugins/hoster/RarefileNet.py | |
parent | Use re.match for __pattern__ matches instead re.search (diff) | |
download | pyload-c7b21dbabe0d04668eae1c26db61b5e63d5ae774.tar.xz |
Fix HOSTER_NAME in XFileSharingPro plugins
Merges vuolter/pyload@f20b998
(cherry picked from commit 02e1638896c073f5d1c904a3e611d09298df79fa)
Diffstat (limited to 'pyload/plugins/hoster/RarefileNet.py')
-rw-r--r-- | pyload/plugins/hoster/RarefileNet.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pyload/plugins/hoster/RarefileNet.py b/pyload/plugins/hoster/RarefileNet.py index aff92f799..3c887e66c 100644 --- a/pyload/plugins/hoster/RarefileNet.py +++ b/pyload/plugins/hoster/RarefileNet.py @@ -15,10 +15,11 @@ class RarefileNet(XFileSharingPro): __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>.+?) ' DIRECT_LINK_PATTERN = r'<a href="(?P<link>[^"]+)">(?P=link)</a>' - HOSTER_NAME = "rarefile.net" def setup(self): self.resumeDownload = self.multiDL = self.premium |