Skip to content

Commit e9ba0df

Browse files
committed
update
1 parent 815ecf4 commit e9ba0df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

爬虫集合/lagou.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def main():
7474
print(i, 'page', page)
7575
time.sleep(random.randint(10, 20))
7676
for row in info:
77-
# insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
77+
insert(conn, tuple(row)) # 插入数据库,若不想存入 注释此行
7878
ws1.append(row)
7979
conn.close() # 关闭数据库连接,不存数据库 注释此行
8080
wb.save('{}职位信息.xlsx'.format(lang_name))

0 commit comments

Comments
 (0)