【发布时间】:2020-03-18 14:18:06
【问题描述】:
我希望从Easy Allies reviews 中抓取一些信息用于个人项目,使用:
- Python3
- 请求
- BS4(美汤)
我想抓取他们最近审查过的游戏的名称,这些名称在浏览器检查工具中很容易找到,但在此 Python 代码返回的页面源代码中不存在:
import requests
from bs4 import BeautifulSoup
page = requests.get("http://www.easyallies.com/#!/reviews")
soup = BeautifulSoup(page.text, 'html.parser')
print(soup.prettify())
我如何访问这些数据?
【问题讨论】:
标签: python html beautifulsoup python-requests