Skip to content

fix: fix CurlImpersonateHttpClient cookies handler#946

Merged
vdusek merged 9 commits into
apify:masterfrom
Mantisus:curl-impersonate-cookies
Feb 5, 2025
Merged

fix: fix CurlImpersonateHttpClient cookies handler#946
vdusek merged 9 commits into
apify:masterfrom
Mantisus:curl-impersonate-cookies

Conversation

@Mantisus

Copy link
Copy Markdown
Collaborator

Description

  • fix cookie handling. Behavior alignment with HttpxHttpClient.

Issues

@Mantisus Mantisus requested review from janbuchar and vdusek January 30, 2025 14:18
@janbuchar

Copy link
Copy Markdown
Collaborator

Could you add a test please?

@Mantisus

Copy link
Copy Markdown
Collaborator Author

Could you add a test please?

Yeah sure, but I need that PR #947 for these tests 🙂

@Mantisus Mantisus self-assigned this Jan 30, 2025
@Mantisus

Copy link
Copy Markdown
Collaborator Author

Added tests

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One nit, otherwise LGTM.

Comment thread src/crawlee/http_clients/_curl_impersonate.py Outdated

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@janbuchar janbuchar left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have some test-related nits, other than that, it looks good

Comment thread tests/unit/crawlers/_http/test_http_crawler.py Outdated
Comment thread tests/unit/crawlers/_http/test_http_crawler.py Outdated
Comment thread tests/unit/crawlers/_http/test_http_crawler.py Outdated
Mantisus and others added 2 commits February 4, 2025 11:41
@Mantisus Mantisus requested a review from janbuchar February 4, 2025 10:57
Comment thread tests/unit/crawlers/_http/test_http_crawler.py Outdated
Comment thread tests/unit/crawlers/_http/test_http_crawler.py Outdated
@Mantisus Mantisus requested a review from janbuchar February 4, 2025 15:34
@vdusek vdusek merged commit ed415c4 into apify:master Feb 5, 2025
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.

3 participants