[pull] master from AndreiDrang:master#82
Merged
Conversation
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>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
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 : )