完善爬取结果写入数据库

master
wufayuan 3 years ago
parent 36e16a99ba
commit 9501253095

@ -81,7 +81,7 @@ def cancel(u_name):
print(e) print(e)
def write_result2database(res: list, table_name: str): def write_result2database(res: list, table_name: str): #id 需修改
try: try:
conn = mysql_conn() conn = mysql_conn()
cur = conn.cursor() cur = conn.cursor()

Loading…
Cancel
Save