wico77
V2EX  ›  问与答

scrapy 爬取一个站下的多个分类,每个分类在 pipeline 里保存成不同的文件。怎么实现批量爬取和管理

  •  
  •   wico77 · Apr 20, 2015 · 2461 views
    This topic created in 4067 days ago, the information mentioned may be changed or developed.
    1 replies    2015-04-20 16:58:47 +08:00
    zts1993
        1
    zts1993  
       Apr 20, 2015
    在Item里面弄一个字段区分,在每个pipeline里面判断是否符合条件?

    也不是很熟,下面的来回答吧
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   842 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 20:44 · PVG 04:44 · LAX 13:44 · JFK 16:44
    ♥ Do have faith in what you're doing.