582033
V2EX  ›  问与答

为什么 scrapy 只抓了 1 页内容

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

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

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

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