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

URLs in start_urls are not affected by this middleware #17

Open
gfrmin opened this issue Mar 15, 2017 · 4 comments
Open

URLs in start_urls are not affected by this middleware #17

gfrmin opened this issue Mar 15, 2017 · 4 comments

Comments

@gfrmin
Copy link

gfrmin commented Mar 15, 2017

If a URL is in start_urls of the spider, it is never skipped by this middleware, i.e. every URL in start_urls is parsed by the parse method of the spider.

If this can't be fixed, it should be documented.

@eliorc
Copy link

eliorc commented Nov 5, 2017

I had an issue with this also.
Even though all of the start URL were Request objects containing the meta 'deltafetch_key' needed, the were crawled anyway

@feng1632009
Copy link

Yes, I also encountered this problem. Is there any good solution?

@gfrmin
Copy link
Author

gfrmin commented Apr 19, 2019

@feng1632009
Copy link

For the time being, my solution is to set a link that must be accessible at the start of start_url, and then the URL of the yield Request crawler url can be affected by the plugin.

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

No branches or pull requests

3 participants