tap order 数据写入mysql

This commit is contained in:
pengtao 2019-10-16 16:32:45 +08:00
parent 4a9c34b366
commit fabcda294b

View File

@ -55,8 +55,6 @@ class TapTapReport:
for key in all.keys(): for key in all.keys():
if not all[key].get('title', None): if not all[key].get('title', None):
try: try:
print(f"0={key},1={all},2={b_game_info}")
pdb.set_trace()
all[key]['title'] = b_game_info[key]['title'] all[key]['title'] = b_game_info[key]['title']
all[key]['cate'] = b_game_info[key]['cate'] all[key]['cate'] = b_game_info[key]['cate']
all[key]['topic'] = b_game_info[key]['topic'] all[key]['topic'] = b_game_info[key]['topic']
@ -67,7 +65,7 @@ class TapTapReport:
all[key]['sell'] = b_game_info[key]['sell'] all[key]['sell'] = b_game_info[key]['sell']
all[key]['review'] = b_game_info[key]['review'] all[key]['review'] = b_game_info[key]['review']
except Exception: except Exception:
print(f"0={key},1={all},2={b_game_info}") print(f"0={key}")
print(all) print(all)