Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new parameter curl_cookiefile for curl_easy_setopt #4156

Merged
merged 2 commits into from Oct 31, 2023

Conversation

stweil
Copy link
Contributor

@stweil stweil commented Oct 30, 2023

This allows OCR for URLs which require a session cookie.

@stweil
Copy link
Contributor Author

stweil commented Oct 30, 2023

@egorpugin, the CI failures are unrelated to this PR. Please have a look why some sw builds fail.

This allows OCR for URLs which require a session cookie.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Fail with an error message instead of trying to handle the text
from an HTML error page as an image and fail later for HTTP codes
equal or larger than 400.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
@stweil stweil merged commit 36f3efd into tesseract-ocr:main Oct 31, 2023
4 of 5 checks passed
@stweil stweil deleted the cookie branch October 31, 2023 09:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant