Browse Source

变更标讯任务列表名 mgp_list 为 bidding_list

dongzhaorui 1 year ago
parent
commit
9637492efd
1 changed files with 5 additions and 0 deletions
  1. 5 0
      FworkSpider/items/spider_item.py

+ 5 - 0
FworkSpider/items/spider_item.py

@@ -130,6 +130,8 @@ class MgpListItem(SwordFishProjectItem):
 
         self.files = False  # 采集附件配置
 
+        self.table_name = 'biding_list'
+
     @property
     def item(self) -> dict:
         return self.__dict__["item"]
@@ -148,3 +150,6 @@ class MgpListItem(SwordFishProjectItem):
             if code == 10106:
                 log.warning(f"{title}--不可入库,原因:{reason}")
                 self.save = False
+
+
+BidingListItem = MgpListItem