Skip to content

Commit

Permalink
Release 1.2.63
Browse files Browse the repository at this point in the history
  • Loading branch information
VeNoMouS committed Aug 27, 2022
1 parent 11a6ef7 commit d411454
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudscraper/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

# ------------------------------------------------------------------------------- #

__version__ = '1.2.62'
__version__ = '1.2.63'

# ------------------------------------------------------------------------------- #

Expand Down
3 changes: 2 additions & 1 deletion cloudscraper/captcha/anticaptcha.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def getCaptchaAnswer(self, captchaType, url, siteKey, captchaParams):
raise CaptchaParameter("anticaptcha: Missing api_key parameter.")

client = AnticaptchaClient(captchaParams.get('api_key'))
client.SOFT_ID = 959

if captchaParams.get('proxy') and not captchaParams.get('no_proxy'):
captchaMap = {
Expand Down Expand Up @@ -88,7 +89,7 @@ def getCaptchaAnswer(self, captchaType, url, siteKey, captchaParams):
if not hasattr(client, 'createTaskSmee'):
raise NotImplementedError(
"Please upgrade 'python_anticaptcha' via pip or download it from "
"https://github.com/ad-m/python-anticaptcha/tree/hcaptcha"
"https://github.com/ad-m/python-anticaptcha/"
)

job = client.createTaskSmee(task, timeout=180)
Expand Down

0 comments on commit d411454

Please sign in to comment.