summaryrefslogtreecommitdiffstats
path: root/module/plugins/hoster/RapidgatorNet.py
diff options
context:
space:
mode:
authorGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-03 01:14:48 +0200
committerGravatar zoidberg10 <zoidberg@mujmail.cz> 2012-10-03 01:14:48 +0200
commit5658d5525d5088a6254322210c1641cbdba2eb7d (patch)
treef4f256e082d4f906ba11b25ccaedc1e39e652ba3 /module/plugins/hoster/RapidgatorNet.py
parentlittle multihoster fix (diff)
downloadpyload-5658d5525d5088a6254322210c1641cbdba2eb7d.tar.xz
update czshare, little fixes
Diffstat (limited to 'module/plugins/hoster/RapidgatorNet.py')
-rw-r--r--module/plugins/hoster/RapidgatorNet.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/module/plugins/hoster/RapidgatorNet.py b/module/plugins/hoster/RapidgatorNet.py
index 291ba4c4b..6c09eabb9 100644
--- a/module/plugins/hoster/RapidgatorNet.py
+++ b/module/plugins/hoster/RapidgatorNet.py
@@ -21,7 +21,7 @@ from pycurl import HTTPHEADER
from random import random
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
-from module.plugins.internal.CaptchaServices import ReCaptcha, SolveMedia, AdsCaptcha
+from module.plugins.internal.CaptchaService import ReCaptcha, SolveMedia, AdsCaptcha
from module.common.json_layer import json_loads
class RapidgatorNet(SimpleHoster):
@@ -42,14 +42,7 @@ class RapidgatorNet(SimpleHoster):
RECAPTCHA_KEY_PATTERN = r'"http://api.recaptcha.net/challenge?k=(.*?)"'
ADSCAPTCHA_SRC_PATTERN = r'(http://api.adscaptcha.com/Get.aspx[^"\']*)'
SOLVEMEDIA_PATTERN = r'http:\/\/api\.solvemedia\.com\/papi\/challenge\.script\?k=(.*?)"'
-
- def process(self, pyfile):
- self.pyfile = pyfile
- if self.premium:
- self.handlePremium()
- else:
- self.fail("NO FREE")
-
+
def getAPIResponse(self, cmd):
json = self.load('%s/%s' % (self.API_URL, cmd),
get = {'sid': self.account.getAccountData(self.user).get('SID'),