summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-04-28 01:32:35 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-04-28 01:32:35 +0200
commit2b3baa733ee388507d132466f34305b35f82681e (patch)
tree56e43c40cf35a8f60d6c1b071dd2acf31663cb79 /module/plugins/hoster/RapidgatorNet.py
parentupdate sharerapid account, serienjunkies by godofdream (diff)
downloadpyload-2b3baa733ee388507d132466f34305b35f82681e.tar.xz
plugin updates: closed #592, #565; closed #591
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index a8c55f0ba..e4424809c 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -27,7 +27,7 @@ class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?(rapidgator.net)/file/(\d+)"
- __version__ = "0.01"
+ __version__ = "0.02"
__description__ = """rapidgator.net"""
__author_name__ = ("zoidberg")
@@ -39,6 +39,9 @@ class RapidgatorNet(SimpleHoster):
RECAPTCHA_KEY_PATTERN = r'"http://api.recaptcha.net/challenge?k=(.*?)"'
def handleFree(self):
+ if "You can download files up to 500 MB in free mode":
+ self.fail("File too large for free download")
+
self.checkWait()
jsvars = dict(re.findall(self.JSVARS_PATTERN, self.html))