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

Implement Crawly.crawl/2 command for fetching given page with given spider #52

Closed
oltarasenko opened this issue Jan 14, 2020 · 1 comment

Comments

@oltarasenko
Copy link
Collaborator

It may be Crawly.crawl(url, spider_name) or Crawly.crawl_with(url, spider_name)

The idea is based on:
#51 (comment)

We want to build a way to debug how spider would fetch a given page. Which links are going to be extracted? Which items are going to be fetched?

@Ziinc
Copy link
Collaborator

Ziinc commented May 16, 2020

Perhaps instead of having a completely separate function, we can extend the fetch function to have a :with option for passing in the spider?

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

2 participants