summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-08-14 21:48:19 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-08-14 21:48:19 +0200
commit88f34841c319c1c67469a361350b0482d4952e11 (patch)
tree029ddc70f471abf7092672eacadf000f8553ea34 /module/plugins/hoster/RapidgatorNet.py
parentshare-online.biz error handling - should fix #649 (diff)
downloadpyload-88f34841c319c1c67469a361350b0482d4952e11.tar.xz
closed #653, #654, fix cbh
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index 3b0981b8b..678a3d707 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -67,7 +67,7 @@ class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
__pattern__ = r"http://(?:www\.)?(rapidgator.net)/file/(\d+)"
- __version__ = "0.05"
+ __version__ = "0.06"
__description__ = """rapidgator.net"""
__author_name__ = ("zoidberg","chrox")
@@ -81,8 +81,9 @@ class RapidgatorNet(SimpleHoster):
SOLVEMEDIA_PATTERN = r'http:\/\/api\.solvemedia\.com\/papi\/challenge\.script\?k=(.*?)"'
def handleFree(self):
- if "You can download files up to 500 MB in free mode" in self.html:
- self.fail("File too large for free download")
+ if "You can download files up to 500 MB in free mode" in self.html \
+ or "This file can be downloaded by premium only" in self.html:
+ self.fail("Premium account needed for download")
self.checkWait()