fix!: merge payload and data fields of Request#542
Conversation
|
JS version have only |
|
Also, since this is breaking, maybe we should wait, and merge it once we have more breaking changes than a simple one like this (or some feature worth the minor bump). |
9d83dcb to
49243db
Compare
|
I learned about |
|
It also says "Alternatively, you can send form data as URL parameters using the query_params argument." btw, not sure if that is something related or not. |
We will have the first version of fingerprints for Playwright soon 🤞.
Thanks. Of course, I forgot to update the docs. |
janbuchar
left a comment
There was a problem hiding this comment.
Nice! Just a couple of questions...
c04ecb2 to
414ac66
Compare
649eaa5 to
4c3d891
Compare
I've separated the Curl impersonation fix and other minor updates into a separate PR (#543), allowing us to release a patch version for 0.3. The |
### Description - Version 1.7.2 of `curl-cffi` introduces breaking changes. - This update includes adopting the new version, adding type aliases for `Request` fields, and incorporating other minor changes from PR #542. ### Issues - N/A (ad-hoc fix) ### Testing - The current set of unit tests should cover the changes. ### Checklist - [x] CI passed
4c3d891 to
f0ea79c
Compare
62b332e to
c371b29
Compare
c371b29 to
d1b9abb
Compare
|
A new model for |
d1b9abb to
2752643
Compare
2752643 to
260acd1
Compare
|
Nice work @vdusek, and sorry for taking multiple rounds of review to pinpoint all issues. |
janbuchar
left a comment
There was a problem hiding this comment.
Looking good, just a nit.
Description
dataandpayloadfields on theRequestmodel.payloadwas not being provided to the HTTP clients, only thedatafield.In this PR, I'm merging them together, keeping only thedatafield (use the same naming asHTTPX&CurlImpersonate).payloadfield (use the same naming as in JS Crawlee).I also defined type aliases for HTTP data and HTTP query parameters and used them across the project.Some struggle with Pydantic & serialization, but should be OK now...Issues
Testing
Checklist