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-on #216

Merged
merged 3 commits into from
Jan 17, 2025
Merged

Add-on #216

merged 3 commits into from
Jan 17, 2025

Conversation

Gallaecio
Copy link
Member

No description provided.

@Gallaecio Gallaecio requested review from kmike and wRAR January 9, 2025 14:09
Comment on lines +267 to +274
def create_scrapy_settings():
"""Return the default scrapy-poet settings."""
warn(
"The scrapy_poet.utils.create_scrapy_settings() function is deprecated.",
DeprecationWarning,
stacklevel=2,
)
return Settings(s)
return Settings(_get_test_settings())
Copy link
Member Author

@Gallaecio Gallaecio Jan 9, 2025

Choose a reason for hiding this comment

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

Deprecated because the returned settings include all Scrapy default settings as project-level settings, which prevents the add-on-level request fingerprinting class from being taken into account.

@Gallaecio Gallaecio merged commit 2f75c54 into scrapinghub:master Jan 17, 2025
14 checks passed
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.

2 participants