summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RarefileNet.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-27 20:28:32 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-09-27 20:28:32 +0200
commitdf0b35be0bc0e2b13be8c6787bbce03082f0e08e (patch)
treeda100584baca6641693ed3b2ca5d67fb12720dbd /module/plugins/hoster/RarefileNet.py
parentfilebeer.info (free only) - closed #687 (diff)
downloadpyload-df0b35be0bc0e2b13be8c6787bbce03082f0e08e.tar.xz
add filebeer.info/fastshare.cz/quickshare.cz premium, closed #688
Diffstat (limited to 'module/plugins/hoster/RarefileNet.py')
-rw-r--r--module/plugins/hoster/RarefileNet.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/plugins/hoster/RarefileNet.py b/module/plugins/hoster/RarefileNet.py
index 8339d40eb..7c5543cc8 100644
--- a/module/plugins/hoster/RarefileNet.py
+++ b/module/plugins/hoster/RarefileNet.py
@@ -7,13 +7,17 @@ class RarefileNet(XFileSharingPro):
__name__ = "RarefileNet"
__type__ = "hoster"
__pattern__ = r"http://(?:\w*\.)*rarefile.net/\w{12}"
- __version__ = "0.01"
+ __version__ = "0.02"
__description__ = """Rarefile.net hoster plugin"""
__author_name__ = ("zoidberg")
__author_mail__ = ("zoidberg@mujmail.cz")
FILE_NAME_PATTERN = r'<td><font color="red">(?P<N>.*?)</font></td>'
FILE_SIZE_PATTERN = r'<td>Size : (?P<S>.+?)&nbsp;'
+ HOSTER_NAME = "rarefile.net"
+
+ 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)