We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 815ecf4 commit e9ba0dfCopy full SHA for e9ba0df
爬虫集合/lagou.py
@@ -74,7 +74,7 @@ def main():
74
print(i, 'page', page)
75
time.sleep(random.randint(10, 20))
76
for row in info:
77
- # insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
+ insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
78
ws1.append(row)
79
conn.close() # 关闭数据库连接,不存数据库 注释此行
80
wb.save('{}职位信息.xlsx'.format(lang_name))
0 commit comments