Mon May 22 04:45:00 UTC 2023 inscode

上级 64303b61
......@@ -39,8 +39,8 @@ if __name__=="__main__":
chapters=bs.find('ol',{'class':'zero unstyled kjlist clearfix'}) #找到id='content'的div标签
chapters=chapters.find_all('a')
t=tqdm(chapters) #设置进度条
print(len(chapters))
t=tqdm(chapters[3383::]) #设置进度条
for chapter in t:
chapter_name=chapter.string #章节名称
print("章节名称:",chapter_name,"\n")
......
此差异已折叠。
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册