I’m not getting the TwoCaptcha library
How can I use 2Captcha com o Robot Framework? I need to validate user access, the site is of the government type and has no API or release. It is a project for consultations of CNDs of the local municipality.
my codat.yaml
For more details on the format and content:
rcc/recipes.md at master · robocorp/rcc · GitHub
Tip: Adding a link to the release notes of the packages helps maintenance and security.
channels:
- conda-forge
dependencies:
Define conda-forge packages here → Search :: Anaconda.org
When available, prefer the conda-forge packages over pip as installations are more efficient.
- python=3.9.13 # Python 3.9 Readiness - Python 3.9 support table for most popular Python packages
- pip=22.1.2 # Changelog - pip documentation v23.0.1
- pip:
Define pip packages here → https://pypi.org/
- rpaframework==22.0.0 # Release notes — RPA Framework documentation
- robotframework-ocrlibrary==2.0.0
- 2captcha-python==1.2.0 #GitHub - 2captcha/2captcha-python: Python 3 package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
- tesseract==0.1.3
my robot.yaml
For more details on the format and content:
rcc/recipes.md at master · robocorp/rcc · GitHub
tasks:
Task names here are used when executing the bots, so renaming these is recommended.
Run all tasks:
shell: python -m robot --report NONE --outputdir output --logtitle “Task log” tasks.robot
condaConfigFile: conda.yaml
environmentConfigs:
- environment_windows_amd64_freeze.yaml
- environment_linux_amd64_freeze.yaml
- environment_darwin_amd64_freeze.yaml
- conda.yaml
artifactsDir: output
PATH:
- .C:/users/ansel/miniconda3/lib/site-packages/
PYTHONPATH:
- .C:/users/ansel/miniconda3/lib/site-packages/2captcha_python-1.2.0.dist-info
ignoreFiles:
- .gitignore