ninsolver python library for solving captchas
python version 3.5+
to install with pip:
pip install ninsolver
requirements:
aiohttp
code example:
from asyncio import run, gather
import ninsolver
async def async_append(client, image, to_append, num):
res = await client.solving_image(client.image_to_bytes(image))
to_append.append(res)
print(f"{num} - solved")
async def main():
client = ninsolver.Client("YOUR API KEY")
results = []
await gather(*[async_append(client, f"{i}.jpg", results, i) for i in range(1, 7)])
for x in results:
print(x.as_str)
run(main())
links:
p.s. visit my github, there are also other codes there
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ninsolver-0.3.tar.gz
(2.1 kB
view details)
File details
Details for the file ninsolver-0.3.tar.gz.
File metadata
- Download URL: ninsolver-0.3.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2aeae84ca5985c6ff00450bb9fde6d594c818e50f55601d87bbdf5b2b9e2c0e7
|
|
| MD5 |
3c78b6de5742f118d22f3d48ffdb1e9b
|
|
| BLAKE2b-256 |
2bdba58c05804b7001c92db7cdf3b5914cd06105ee499d35195f8ce26f378af2
|