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

Run crawler from html files #10

Open
adilsoncarvalho opened this issue Nov 17, 2016 · 0 comments
Open

Run crawler from html files #10

adilsoncarvalho opened this issue Nov 17, 2016 · 0 comments

Comments

@adilsoncarvalho
Copy link
Owner

Find a way to run the crawler from the command line using a previously saved file. In this case we can run only the parse_product_detail as we're interested just to get the data from the detailed page.

I found on the Scrapy documentation a mention to this command but when I did a quick and dirty try it didn't worked out.

scrapy parse \
  --spider=pr-nfce --verbose \
  --callback=parse_products_detail \
  ./detailed_page.html
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

1 participant