Posted on:

16 Mar 2023

0

could someone explain me what's happening in btw 4:00-5:00

Isn't

table = soup.find('tbody')
table.find_all('td')

same as 

table = soup.find('tbody').find_all('td')

as table gets soup obj find all function(although when checked its type is not child of BeautifulSoup as our soup ) and then we again search inside 'tbody' to find all 'td' tag inside our results in table



0 answers ( 0 marked as helpful)

Submit an answer