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

fix extract_from spider parameter not working #29

Merged
merged 1 commit into from
Jan 26, 2024
Merged

Conversation

BurnzZ
Copy link
Contributor

@BurnzZ BurnzZ commented Jan 26, 2024

The problem lies in the extract_from spider parameter not working since the spider.settings.set() call inside EcommerceSpider.from_crawler() doesn't mutate the setting due to the priority value.

Also, even if it did work, it would overwrite the existing ZYTE_API_PROVIDER_PARAMS setting that came from either the BaseSpider or settings.py.

@BurnzZ BurnzZ added the bug Something isn't working label Jan 26, 2024
@BurnzZ BurnzZ mentioned this pull request Jan 26, 2024
2 tasks
@kmike kmike merged commit 570edab into main Jan 26, 2024
9 checks passed
@wRAR wRAR deleted the fix-from-crawler branch February 9, 2024 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants