Skip to content

[pull] master from AndreiDrang:master#82

Merged
pull[bot] merged 9 commits into
zanachka:masterfrom
AndreiDrang:master
Jun 1, 2026
Merged

[pull] master from AndreiDrang:master#82
pull[bot] merged 9 commits into
zanachka:masterfrom
AndreiDrang:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Jun 1, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

snyk-bot and others added 9 commits May 22, 2026 13:21
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-IDNA-16769942
The following vulnerabilities are fixed by pinning transitive dependencies:
- https://snyk.io/vuln/SNYK-PYTHON-IDNA-16769942
Why:
* IDE/tool artifact should not be tracked

What:
* Add .osgrep to .gitignore

Changes:
* .gitignore: add .osgrep entry

Stats:
* 1 file changed
* +1 additions/-0 deletions

Co-authored-by: opencode <https://opencode.ai>
…k bugs

Why:
* 2captcha API now supports VKCaptchaImageTask (image-based, no proxy)
* VKCaptchaTask had incorrect payload key (websiteURL instead of redirectUri)
* proxyPort was typed as str instead of int
* Missing proxyLogin/proxyPassword optional params
* No method validation against enum

What:
* Add VKCaptchaImageTask enum value and image-based solving path
* Fix payload key websiteURL -> redirectUri
* Fix proxyPort type from str to int
* Add proxyLogin/proxyPassword optional params
* Add method validation against VKCaptchaEnm
* Add image file processing in handlers for VKCaptchaImageTask
* Add comprehensive test suite

BREAKING CHANGE: VKCaptcha constructor signature changed from
required positional params to optional keyword params with method
selection. proxyPort changed from str to int. Payload key changed
from websiteURL to redirectUri.

Changes:
* src/python_rucaptcha/core/enums.py: add VKCaptchaImageTask to VKCaptchaEnm
* src/python_rucaptcha/vk_captcha.py: full rewrite with dual task type support
* tests/test_vk_captcha.py: new test file

Stats:
* 3 files changed
* +306 additions/-25 deletions

Co-authored-by: opencode <https://opencode.ai>
Sort imports alphabetically within local import group.

Co-authored-by: opencode <https://opencode.ai>
…a45fe1f841e01

[Snyk] Security upgrade idna from 3.10 to 3.15
Why:
* 2Captcha/RuCaptcha now exposes BinanceTask/BinanceTaskProxyless token-based
  CAPTCHA. Provide first-class Python client to match the existing
  Altcha/Friendly/Atb patterns (token solver with optional proxy mode).

What:
* Add BinanceCaptchaEnm with BinanceTaskProxyless and BinanceTask values.
* Add BinanceCaptcha solver accepting websiteURL, websiteKey, validateId
  and optional userAgent. Enforces proxyType/Address/Port when
  method == BinanceTask. Forwards to _processing_response and
  _aio_processing_response for sync/async flows.
* Add tests covering payload construction, validation (missing required
  args, bad method, missing proxy for BinanceTask), both enum values,
  userAgent handling, and live API context managers.
* Add Binance row to README supported CAPTCHA types table.
* Add 'binance-captcha' keyword to pyproject.toml.

Changes:
* src/python_rucaptcha/core/enums.py: add BinanceCaptchaEnm
* src/python_rucaptcha/binance_captcha.py: new BinanceCaptcha class
* tests/test_binance.py: 15 tests (13 unit + 2 live API)
* README.md: document Binance in supported types table
* pyproject.toml: add binance-captcha keyword

Stats:
* 5 files changed
* ~340 insertions

Co-authored-by: opencode <https://opencode.ai>
Why:
* Sphinx docs must list every public captcha solver and its enum so the
  API reference and toctree stay in sync with the new module added in
  the preceding feat commit.

What:
* Add captcha-binance example.rst mirroring the friendly-captcha/
  captcha-temu templates (import line + autoclass directive).
* Register BinanceCaptchaEnm in docs/modules/enum/info.rst.
* Add captcha-binance to the captcha examples toctree in index.rst
  (alphabetical placement).
* Import binance_captcha in docs/conf.py so the module is discoverable
  by autodoc.

Changes:
* docs/modules/captcha-binance/example.rst: new example page
* docs/modules/enum/info.rst: register BinanceCaptchaEnm
* docs/index.rst: add captcha-binance to toctree
* docs/conf.py: import binance_captcha module

Stats:
* 4 files changed
* ~9 insertions

Co-authored-by: opencode <https://opencode.ai>
@pull pull Bot locked and limited conversation to collaborators Jun 1, 2026
@pull pull Bot added the ⤵️ pull label Jun 1, 2026
@pull pull Bot merged commit c4f6ad8 into zanachka:master Jun 1, 2026
9 of 10 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants