Universal spider for scrapy
domains: ["stackoverflow.com"]
charset: "utf-8"
wrapper:
css: "div.question-summary > div.summary"
columns:
title:
type: "string"
css: "h3 > a ::text"
link:
type: "string"
css: "h3 > a ::attr(href)"
urls:
- "http://stackoverflow.com/"
scrapy crawl universal -a worker=example