diff --git a/dagongPro/settings.py b/dagongPro/settings.py index d66c1cb..2e65af0 100644 --- a/dagongPro/settings.py +++ b/dagongPro/settings.py @@ -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)