Commit 8e6ce66b by chenyuanjie

bsr分类详情兼容week流程

parent 87e52543
......@@ -20,6 +20,8 @@ if __name__ == '__main__':
import_tb = f"{site_name}_bs_category_asin_detail_month_{d1}_{d2}"
if date_type == 'day':
import_tb = f"{site_name}_bs_category_asin_detail_day_{date_info.replace('-', '_')}"
elif date_type == 'week':
import_tb = f"{site_name}_bs_category_asin_detail_week_{d1}_{d2}"
query = f"""
select
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment