我试图从英超联赛中获取历史结果,但是当 html 获取所有结果时,Beautiful Soup find_all 只返回 200 个结果(应该有 463 个。无论如何有办法解决这个问题吗?
非常感谢
马特
import requests
from bs4 import BeautifulSoup
url = "https://www.skysports.com/premier-league-
results/1992-93"
url_content = requests.get(url).content
url_bs = BeautifulSoup(url_content,'html.parser')
match_list =
url_bs.find_all(attrs="class":"fixres__item"})
print(len(match_list))
相关分类