当我在网站上使用inspect时,有一个div标签,基本上整个网页都在里面,但当我打印出html代码时,div标签完全是空的!下面是我当前的代码: from bs4 import BeautifulSoupimport time
html_file= requests.get('https://www.goat.com/sneakers/brand/air-jordan'
我正在遵循一个网络教程,尝试使用BeautifulSoup4从Jupyterlab中的html文件(存储在我的本地PC上)中提取数据,如下所示: from bs4 import BeautifulSoupwith open ('simple.html') as html_file:
simple = BeautifulSoup('html_file',