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