浏览代码

26.03.16.1

charley 5 天之前
父节点
当前提交
d94158c172
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      zc_spider/zc_new_daily_spider.py

+ 2 - 1
zc_spider/zc_new_daily_spider.py

@@ -480,7 +480,8 @@ def zc_main(log):
             log.info(f"查询到 {len(mer_no_rows)} 个商户编号: {mer_no_rows}")
             for shop_id, shop_name in mer_no_rows:
                 log.info(f"开始爬取商户 {shop_id}, {shop_name} 的商品数据")
-                get_sold_list(log, shop_id, shop_name, token, sql_pool)
+                # get_sold_list(log, shop_id, shop_name, token, sql_pool)
+                get_sold_list(log, shop_id, token, sql_pool, shop_name)
         except Exception as e:
             log.error(f'get_sold_list error: {e}')