Но я получаю только первые две таблицы: AL MVP Voting и NL MVP Voting, но после нее я не получаю ни одной таблицы, AL/NL Cy Young Voting, AL/NL Голосование за новичка года и т. д.
Вот код, который я использую:
Код: Выделить всё
url = f'https://www.baseball-reference.com/awards/awards_2017.shtml'
page = requests.get(url)
soup = BeautifulSoup(page.text, 'html')
soup
table = soup.find_all('table')
table[2]
Подробнее здесь: https://stackoverflow.com/questions/778 ... erence-com