-
Notifications
You must be signed in to change notification settings - Fork 49
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
Resolve request_fingerprint deprecation removal in Scrapy 2.12.0 #51
Conversation
While this indeed removes the removed import, it does not switch to the new way to handle request fingerprinting introduced in Scrapy 2.7.0. And to be fair, I have just realized how the Scrapy docs focus on the user information about request fingerprinting and neglect the component-author information. Do you think you could refactor this PR to instead rely on You could use Test expectations may need to change as well when running a version of Scrapy that supports the new approach. For one, the new fingerprints as |
Sorry, I got that mixed up with
I see the current implementation of |
Thanks! I have moved the code to I have also upgraded the minimum required Python version to get the CI passing. I will open a separate PR to modernize the code base a bit in preparation for a release. |
That's neat, thank you very much! |
Removal of
scrapy.utils.request.request_fingerprint()
breaksscrapy_deltafetch
. I solved this by replacing the deprecated function with aRequestFingerprinter
object according to the new specifications. Tests modified accordingly.Thank you for a very useful package!
Closes #50.