私はすべてのチーム対チーム情報とこのURLを使用してショーボタンの下に隠されているスコアを取得しようとしているhttp://www.gosugamers.net/counterstrike/teams/7397-natus-vincere/matches。私はこの問題のためにこれまで私が持っていたものです。Pythonで美しいスープを使ってチームのテキストとスコアを取得するには?
def all_match_outcomes():
for match_outcomes in all_match_history_url():
page = requests.get(match_outcomes).content
soup = BeautifulSoup(page, 'html.parser')
for match_outcome in soup.select_one('div table.simple.gamelist.profilelist td'):
opp_1 = match_outcome.select_one('a').find('span')
print(opp_1)
ワーキング。 – alecxe
十分明確か、すべてのコードを追加する必要がありますか? – DJRodrigue