summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-24 20:07:45 +0100
committerGravatar Nitzo <nitzo2001@yahoo.com> 2016-03-24 20:07:45 +0100
commit22803c58dcbc19acb3f0bcad9d1a66e7da339e65 (patch)
tree1473d1beacbc2c6ad42bb7936ee94493f2d86fee
parent[Http] Version up (diff)
downloadpyload-22803c58dcbc19acb3f0bcad9d1a66e7da339e65.tar.xz
[RapidgatorNet] fix #2389 #2396
-rw-r--r--module/plugins/hoster/RapidgatorNet.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index f8584c0b9..52aab2411 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -15,7 +15,7 @@ from module.plugins.internal.misc import json, seconds_to_midnight
class RapidgatorNet(SimpleHoster):
__name__ = "RapidgatorNet"
__type__ = "hoster"
- __version__ = "0.41"
+ __version__ = "0.42"
__status__ = "testing"
__pattern__ = r'http://(?:www\.)?(rapidgator\.net|rg\.to)/file/\w+'
@@ -158,7 +158,9 @@ class RapidgatorNet(SimpleHoster):
if "The verification code is incorrect" in self.data:
self.retry_captcha()
else:
- self.captcha.correct()
+ m = re.search(self.LINK_FREE_PATTERN, self.data)
+ if m is not None:
+ self.link = m.group(1)
def handle_captcha(self):