pull/13/head
injetlee 2018-09-02 18:15:37 +08:00
parent 815ecf46b9
commit e9ba0df874
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ def main():
print(i, 'page', page)
time.sleep(random.randint(10, 20))
for row in info:
# insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
ws1.append(row)
conn.close() # 关闭数据库连接,不存数据库 注释此行
wb.save('{}职位信息.xlsx'.format(lang_name))