diff options
Diffstat (limited to 'module/plugins/hoster')
| -rw-r--r-- | module/plugins/hoster/ShareonlineBiz.py | 4 | 
1 files changed, 3 insertions, 1 deletions
| diff --git a/module/plugins/hoster/ShareonlineBiz.py b/module/plugins/hoster/ShareonlineBiz.py index f821cd244..d52328fd6 100644 --- a/module/plugins/hoster/ShareonlineBiz.py +++ b/module/plugins/hoster/ShareonlineBiz.py @@ -28,6 +28,8 @@ class ShareonlineBiz(SimpleHoster):      URL_REPLACEMENTS = [(__pattern__ + ".*", "http://www.share-online.biz/dl/\g<ID>")] +    RECAPTCHA_KEY = "6LdatrsSAAAAAHZrB70txiV5p-8Iv8BtVxlTtjKX" +      ERROR_INFO_PATTERN = r'<p class="b">Information:</p>\s*<div>\s*<strong>(.*?)</strong>' @@ -65,7 +67,7 @@ class ShareonlineBiz(SimpleHoster):          recaptcha = ReCaptcha(self)          for _i in xrange(5): -            challenge, response = recaptcha.challenge() +            challenge, response = recaptcha.challenge(self.RECAPTCHA_KEY)              m = re.search(r'var wait=(\d+);', self.html)              self.setWait(int(m.group(1)) if m else 30) | 
