Browse Source

切换持久化数据表

dongzhaorui 1 year ago
parent
commit
621ad65492
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ybw/list_spider2.py

+ 1 - 1
ybw/list_spider2.py

@@ -151,7 +151,7 @@ def main():
 
     dedup = RedisFilter()  # 默认过期时间1年
     to_mongodb = MongoClient(setting.MONGO_IP, setting.MONGO_PORT)
-    collection = to_mongodb[setting.MONGO_DB]['ybw_list']
+    collection = to_mongodb[setting.MONGO_DB]['ybw_list02']
 
     with ThreadPoolExecutor(max_workers=5) as tpool:
         fs = []