Repository navigation
feat: sync with the current CapMonster Cloud API (5.1, no breaking changes) - #78
Merged
Merged
Conversation
…the current API - HuntTask sends CustomTask/HUNT with HuntMetadata (apiGetLib, data or widgetUrl) and requires a proxy. The old websiteKey form still sends the legacy request but emits a DeprecationWarning. - ImpervaTaskMetadata sends incapsulaCookies; incapsulaCookie is still accepted with a DeprecationWarning. ImpervaTask gains a proxy field. - ComplexImageRecognitionTask sends bls_3x3 for the deprecated "bls", adds baidu, bills_audio, dli, MathSum and portugal_text_find_icon, and taskArgument (TaskArgument). - TurnstileCloudFlareTask token mode no longer requires apiJsUrl or forbids a proxy, and gains pageData, matching the docs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
- TenDITask: metadata (captchaUrl, aidEncrypted); proxy is now optional. - DataDomeMetadata: datadomeVersion. - RecaptchaV2EnterpriseTask: minScore. - DataDomeTask and FunCaptchaTask warn when no proxy is given, since the API requires one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
…ton tasks Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
They emit a DeprecationWarning and will be removed in 6.0. The API docs describe reCAPTCHA (click) as ComplexImageTask (ComplexImageRecaptchaTask) and no longer list Temu or Castle. Behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
getTaskResult now returns the task's cost. get_task_result_detailed, join_task_result_detailed and solve_detailed (and their async versions) return a TaskResult with status, solution and cost. The existing methods still return only the solution dict. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
- ComplexImageRecognitionTask(task="bls") now sends "bls" as before, with the DeprecationWarning, instead of a bls_3x3 request without the TaskArgument the API requires. - A legacy HuntTask(websiteKey=...) reports type "HuntTask", matching the request it sends. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: alperen-io[bot] <347392299+alperen-io[bot]@users.noreply.github.com>
alperensert
approved these changes
Nov 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings the SDK in line with the current CapMonster Cloud docs (capmonster-captcha-solver-docs at b74add2, 2026-11-18). Nothing breaks: everything that changed shape keeps working and emits a
DeprecationWarning, to be removed in 6.0. release-please should cut 5.1.0.Fixes
CustomTask/class: HUNTwithHuntMetadata(apiGetLib, plusdataorwidgetUrl) and requires a proxy.HuntTask(websiteKey=...)still sends the oldHuntTaskrequest, with a warning.incapsulaCookies(the old code sentincapsulaCookie, which the API doesn't document). The old keyword is still accepted, with a warning. Addsproxy.bls_3x3, which needstaskArgument. The oldblsvalue is still sent unchanged, with a warning. Also addsbaidu,bills_audio(sendsPayloadType: Audio),dli,MathSum,portugal_text_find_icon, andtaskArgument→TaskArgument.apiJsUrlis no longer required and a proxy is allowed, as in the docs. This only relaxes validation.New
AlibabaTask,FriendlyTask,FengkongCloudTask,ARCaptchaTask,HeyTapTask,ProtonTask.minScoreon reCAPTCHA v2 Enterprisemetadata(captchaUrl,aidEncrypted), and TenDIproxyis now optionaldatadomeVersionpageDataget_task_result_detailed,join_task_result_detailedandsolve_detailed(plus their async versions) return aTaskResultwithstatus,solutionandcost. The existing methods still return only the solution dict.UserWarningwithout a proxy, since the API requires one.Deprecated
RecaptchaClickTask,TemuTaskandCastleTasknow emit a warning; their behaviour is unchanged.ComplexImageTask, i.e.ComplexImageRecaptchaTask.Testing
pytest tests/: 124 passed, 24 skipped (the skipped ones needAPI_KEY).masterpasses against this branch (77 passed).import capmonster_pythonemits no warnings.🤖 Generated with Claude Code