lizongze hai 1 ano
pai
achega
0fd23e39e7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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}")