python scrapy shell使用
  1. scrapy shell quotes.toscrape.com

  2. response.css("div.quote::attr('itemtype')")

  3. response.css(".pager .next a::attr('href')").extract()[0]

上一篇
下一篇