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






評(píng)論(0)


暫無(wú)數(shù)據(jù)
CDA考試動(dòng)態(tài)
CDA報(bào)考指南
推薦帖子
0條評(píng)論
0條評(píng)論
0條評(píng)論
0條評(píng)論