582033
V2EX  ›  问与答

为什么 scrapy 只抓了 1 页内容

  •  
  •   582033 · Aug 9, 2016 · 1614 views
    This topic created in 3745 days ago, the information mentioned may be changed or developed.

    https://gist.github.com/582033/2cf98304e9cd11c38243cf4cf9e066c8

    执行 scrapy crawl itjuzi -o foo.csv 以后,只抓取了当页的内容,并没有进入下一页抓取,哪儿错了?

    wangxiaoer
    wangxiaoer
    Aug 9, 2016
    1
    把 next_page 打印一下看看结果。
    582033
    582033
    OP
    Aug 9, 2016 via Android
    2
    @wangxiaoer 打印出来了,就是下一页的连接 没错
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   3692 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 09:57 · PVG 17:57 · LAX 01:57 · JFK 04:57
    ♥ Do have faith in what you're doing.