How do I merge results from target page to current page in scrapy?

后端 未结 4 1359
难免孤独
难免孤独 2020-12-13 04:48

Need example in scrapy on how to get a link from one page, then follow this link, get more info from the linked page, and merge back with some data from first page.

4条回答
  •  盖世英雄少女心
    2020-12-13 05:20

    More information on passing the meta data and request objects is specifically described in this part of the documentation:

    http://readthedocs.org/docs/scrapy/en/latest/topics/request-response.html#passing-additional-data-to-callback-functions

    This question is also related to: Scrapy: Follow link to get additional Item data?

提交回复
热议问题