更新项目结构

This commit is contained in:
xishandong 2023-08-18 13:49:31 +08:00
parent d62f964462
commit f80f55b5f8
214 changed files with 36 additions and 36 deletions

View File

@ -3,7 +3,7 @@ from bs4 import BeautifulSoup
if __name__ == "__main__":
# 将本地的html文件中的数据加载到该对象中
fp = open('./test.html', 'r', encoding='utf-8')
fp = open('test.html', 'r', encoding='utf-8')
soup = BeautifulSoup(fp, 'lxml')
# print(soup)
# print(soup.a) # soup.tagName 返回的是html中第一次出现的tagName标签

View File

View File

View File

View File

View File

Some files were not shown because too many files have changed in this diff Show More