lizongze 1 年之前
父节点
当前提交
0fd23e39e7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      FworkSpider/items/spider_item.py

+ 1 - 1
FworkSpider/items/spider_item.py

@@ -142,7 +142,7 @@ class BidingListItem(BaseListItem):
         self.files = False  # 采集附件配置
 
     def pre_to_db(self):
-        if CheckData.channel(self.channel):
+        if CheckData.channel(self.channel, self.site):
             code, reason = CheckData.title(self.title)
             if code == 10106:
                 log.warning(f"{self.title}--不可入库,原因:{reason}")