Skip to content

v6.7.0#374

Merged
AndreiDrang merged 27 commits into
releasefrom
master
Jul 11, 2026
Merged

v6.7.0#374
AndreiDrang merged 27 commits into
releasefrom
master

Conversation

@AndreiDrang

Copy link
Copy Markdown
Owner

No description provided.

dependabot Bot and others added 27 commits June 3, 2026 02:08
Updates the requirements on [idna](https://github.com/kjd/idna) to permit the latest version.
- [Release notes](https://github.com/kjd/idna/releases)
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md)
- [Commits](kjd/idna@v3.15...v3.18)

---
updated-dependencies:
- dependency-name: idna
  dependency-version: '3.18'
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6 to 7.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@v6...v7)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
CaptchaAI is 2Captcha-API-compatible via the classic in.php/res.php endpoints
(rather than the JSON createTask API). Adds ServiceEnm.CAPTCHAAI, URL routing in
CaptchaOptionsSer.urls_set(), and a small classic-API adapter (core/captchaai.py)
that maps the library's createTask payloads to classic params and parses the
classic responses, returning the usual GetTaskResultResponseSer shape so the
public Turnstile / ReCaptcha / ImageCaptcha classes work transparently.

Supported task types: Turnstile, reCAPTCHA v2 (incl. Enterprise), reCAPTCHA v3,
ImageToText; unsupported types raise a clear ValueError. Adds README usage note
and tests/test_captchaai.py (no-network unit tests).

Refs #366
Bumps [actions/checkout](https://github.com/actions/checkout) from 6 to 7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v6...v7)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…iohttp + ValueError)

Addresses Codacy broad-exception-caught flags on the CaptchaAI adapter.
Bumps [black](https://github.com/psf/black) from 25.11.0 to 26.5.1.
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@25.11.0...26.5.1)

---
updated-dependencies:
- dependency-name: black
  dependency-version: 26.5.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@8.0.0.dev0...9.1.1)

---
updated-dependencies:
- dependency-name: pytest
  dependency-version: 9.1.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [zipp](https://github.com/jaraco/zipp) to permit the latest version.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](jaraco/zipp@v3.23.1...v4.1.0)

---
updated-dependencies:
- dependency-name: zipp
  dependency-version: 4.1.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Updates the requirements on [urllib3](https://github.com/urllib3/urllib3) to permit the latest version.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](urllib3/urllib3@2.2.2...2.7.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.7.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Add CaptchaAI as a provider (classic in.php/res.php adapter)
….7.0

Update urllib3 requirement from >=2.2.2 to >=2.7.0
Update zipp requirement from >=3.23.1 to >=4.1.0
Update pytest requirement from ==8.* to ==9.*
Update idna requirement from >=3.15 to >=3.18
…decov/codecov-action-7

[github-actions] Bump codecov/codecov-action from 6 to 7
…tions/checkout-7

[github-actions] Bump actions/checkout from 6 to 7
…tcha solvers

Add four new CAPTCHA solving methods based on 2Captcha API specifications:

- TSPD: cookie-based protection requiring static proxy session
- Basilisk: token-based challenge with proxyless and proxy options
- Alibaba: token-based with sceneId, prefix, and optional dynamic parameters
- Imperva/Incapsula: cookie-based protection with script URL and cookies

New modules:
- src/python_rucaptcha/tspd_captcha.py
- src/python_rucaptcha/basilisk_captcha.py
- src/python_rucaptcha/alibaba_captcha.py
- src/python_rucaptcha/incapsula_captcha.py (with ImpervaCaptcha alias)

New enums in core/enums.py:
- TSPDEnm, BasiliskEnm, AlibabaEnm, IncapsulaEnm

Includes unit tests, documentation, and README updates.

Co-authored-by: pi
Update repository and package-level AGENTS.md files with additional
clarifications about CaptchaAI integration patterns and data-driven
profile validation. Includes minor test file update.

Co-authored-by: pi
@AndreiDrang AndreiDrang merged commit 116e75e into release Jul 11, 2026
21 of 24 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants