
Security News
Browserslist-rs Gets Major Refactor, Cutting Binary Size by Over 1MB
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
captchamanager abstracts captcha token retrieval.
Some programs may require the retrieval of valid captcha tokens. Often,
this is accomplished through services like 2Captcha
_ that return a
valid token given an API key and the challenge site key. captchamanager
abstracts this functionality so programs can receive a single token or
can load a queue of tokens. Tokens are represented by their value,
generation time, and expiration time.
Currently, captchamanager only supports 2Captcha.
captchamanager is available via pip
::
$ pip install captcha-manager
.. code:: python
from captchamanager import CaptchaManager
TWO_CAPTCHA_API_KEY = 'ABC123'
SITE_KEY = 'DEF456'
PAGE_URL = 'https://example.com'
captcha_manager = CaptchaManager(TWO_CAPTCHA_API_KEY, SITE_KEY, PAGE_URL)
token = captcha_manager.get_captcha_token() # Returns a single token ASAP
captcha_manager.start_captcha_queue()
# Do something
token = captcha_manager.wait_for_captcha_token() # Returns one valid token from queue
.. _2Captcha: https://2captcha.com/enterpage
FAQs
CaptchaManager
We found that captcha-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.
Research
Security News
Eight new malicious Firefox extensions impersonate games, steal OAuth tokens, hijack sessions, and exploit browser permissions to spy on users.
Security News
The official Go SDK for the Model Context Protocol is in development, with a stable, production-ready release expected by August 2025.