lizongze 1 rok temu
rodzic
commit
0fd23e39e7
1 zmienionych plików z 1 dodań i 1 usunięć
  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}")