mirror of
https://github.com/xishandong/crawlProject.git
synced 2024-11-25 16:34:42 +08:00
更新项目结构
This commit is contained in:
parent
d62f964462
commit
f80f55b5f8
@ -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标签
|
0
基础篇/scrapy/sunPro/__init__.py
Normal file
0
基础篇/scrapy/sunPro/__init__.py
Normal file
0
基础篇/scrapy/sunPro/sunPro/__init__.py
Normal file
0
基础篇/scrapy/sunPro/sunPro/__init__.py
Normal file
0
基础篇/scrapy/wangyi/__init__.py
Normal file
0
基础篇/scrapy/wangyi/__init__.py
Normal file
0
基础篇/scrapy/wangyi/wangyi/__init__.py
Normal file
0
基础篇/scrapy/wangyi/wangyi/__init__.py
Normal file
0
基础篇/scrapy/xiaohua/__init__.py
Normal file
0
基础篇/scrapy/xiaohua/__init__.py
Normal file
0
基础篇/scrapy/xiaohua/xiaohua/__init__.py
Normal file
0
基础篇/scrapy/xiaohua/xiaohua/__init__.py
Normal file
0
基础篇/scrapy/yiche/__init__.py
Normal file
0
基础篇/scrapy/yiche/__init__.py
Normal file
0
基础篇/scrapy/yiche/yiche/__init__.py
Normal file
0
基础篇/scrapy/yiche/yiche/__init__.py
Normal file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user