2021-01-25
閱讀量:
532
scrapy中pipeline如何使用?
1、在Scrapy中,Item Pipeline是可選組件,默認關閉,要想激活它,只需在配置文件settings.py中啟用被注釋掉的代碼即可。
2、
# Configure item pipelines# See https://doc.scrapy.org/en/latest/topics/item-pipeline.htmlITEM_PIPELINES = { 'qidian_hot.pipelines.QidianHotPipeline': 300,}






評論(0)


暫無數據
推薦帖子
0條評論
0條評論
0條評論