Commit 7feb7340 authored by Yaowentong's avatar Yaowentong

千问电商数据修复

parent 31d15caf
......@@ -152,11 +152,10 @@ def qianwen_android_process_original_data(data):
"source_seq": '',
})
taobao_list = []
if mime_type == 'multi_load/iframe' and multi_load_type == 'taoassistant_fold_product_feeds' and status == 'complete':
if mime_type == 'multi_load/iframe' and (multi_load_type == 'taoassistant_fold_product_feeds' or multi_load_type == 'taoassistant_single_product') and status == 'complete':
for mu in multi_load:
if mu.get('type') == 'taoassistant_fold_product_feeds':
if mu.get('type') in ('taoassistant_fold_product_feeds' ,'taoassistant_single_product'):
source_seq = mu.get('source_seq')
jump_url = next(
(
......@@ -307,12 +306,12 @@ if __name__ == '__main__':
#https://tcdn.aidso.com/geo/6fede9d0-ce6c-4c97-bcb8-43c499fc24e5/TYQWA/think.txt?secret=1104ed37df6abefbb2b454530b06515f0f59505d5751504e524855
# 6fede9d0-ce6c-4c97-bcb8-43c499fc24e5
file_path2 = 'geo/alskdjhfasldjkfh/TYQWA/original.text'
# file_path2 = 'geo/alskdjhfasldjkfh/TYQWA/original.text'
# file_path2 = 'geo/ef66d5f9-cadb-43f3-b8cf-824d75a81e7c/TYQWA/original.text'
qianwen_android_process_original_data(file_path2)
# qianwen_android_process_original_data(file_path2)
data_list = bh_utils.query_data(f"select * from geo_commit_task where taskId = 'd652c3d0-484b-46b6-aefc-1ccd58c46a51' and platform = 'TYQWA'")
data_list = bh_utils.query_data(f"select * from geo_commit_task where taskId = '27721b42-3368-4526-b092-d3157aaa617a' and platform = 'TYQWA'")
def handle_item(i):
if i.get('comWordsMap'):
......
......@@ -103,6 +103,7 @@ def sync_third_usage_once():
owner_map = {
"XHSA": "崔士豪",
"BDAI": "崔士豪",
"KIMI": "崔士豪",
"TXYBA": "崔士豪",
......
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