Skip to content

Commit

Permalink
Update captcha_instrument.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Jan 18, 2025
1 parent baf32b3 commit 387713e
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions src/python3_capsolver/core/captcha_instrument.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,14 +106,14 @@ def file_processing(
captcha_link: URL link to file. Instrument will send GET request to it and read content
captcha_file: Local file path. Instrument will read it
captcha_base64: Readed file base64 data. Instrument will decode it in ``utf-8``
save_format: This arg works only with ``captcha_link`` arg
save_format: This arg works only with ``captcha_link`` arg.
If ``SaveFormatsEnm.CONST`` is set - file will be loaded and saved locally.
img_clearing: This arg works only with ``captcha_link`` arg
If ``False`` - file wil not be removed downloading and saving locally
file_path: This arg works only with ``captcha_link`` and ``SaveFormatsEnm.CONST`` args
In this param u can set locally path for downloaded file saving
file_extension: This arg works only with ``file_path`` args
In this param u MUST set file format for saving
img_clearing: This arg works only with ``captcha_link`` arg.
If ``False`` - file wil not be removed downloading and saving locally.
file_path: This arg works only with ``captcha_link`` and ``SaveFormatsEnm.CONST`` args.
In this param u can set locally path for downloaded file saving.
file_extension: This arg works only with ``file_path`` args.
In this param u MUST set file format for saving.
Examples:
>>> from python3_capsolver.core.captcha_instrument import FileInstrument
Expand Down Expand Up @@ -162,14 +162,14 @@ async def aio_file_processing(
captcha_link: URL link to file. Instrument will send GET request to it and read content
captcha_file: Local file path. Instrument will read it
captcha_base64: Readed file base64 data. Instrument will decode it in ``utf-8``
save_format: This arg works only with ``captcha_link`` arg
save_format: This arg works only with ``captcha_link`` arg.
If ``SaveFormatsEnm.CONST`` is set - file will be loaded and saved locally.
img_clearing: This arg works only with ``captcha_link`` arg
If ``False`` - file wil not be removed downloading and saving locally
file_path: This arg works only with ``captcha_link`` and ``SaveFormatsEnm.CONST`` args
In this param u can set locally path for downloaded file saving
file_extension: This arg works only with ``file_path`` args
In this param u MUST set file format for saving
img_clearing: This arg works only with ``captcha_link`` arg.
If ``False`` - file wil not be removed downloading and saving locally.
file_path: This arg works only with ``captcha_link`` and ``SaveFormatsEnm.CONST`` args.
In this param u can set locally path for downloaded file saving.
file_extension: This arg works only with ``file_path`` args.
In this param u MUST set file format for saving.
Examples:
>>> import asyncio
Expand Down

0 comments on commit 387713e

Please sign in to comment.