上传文件至 'dagongPro'

新增:管道并设置优先级
This commit is contained in:
link_1999 2022-04-06 20:37:31 +08:00
parent d3a82382d6
commit 6c1bb870e4
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ DOWNLOADER_MIDDLEWARES = {
# See https://docs.scrapy.org/en/latest/topics/item-pipeline.html
ITEM_PIPELINES = {
'dagongwangPro.pipelines.DagongwangproPipeline': 300,
'dagongwangPro.pipelines.mysqlPileLine': 301,
}
# Enable and configure the AutoThrottle extension (disabled by default)