I\'m trying to scrap Year & Winners ( first & second columns ) from \"List of finals matches\" table (second table) from http://en.wikipedia.org/wiki/List_of_FIFA_W
Directly run the below code.
tr_elements = soup.find_all('table')[2].find_all('tr')
By doing this, you can access the all the Note: If you are having a problem in getting to the desired tag, decompose the previous tags with ; You will have to use for loop for doing this (There are other possible ways to iterate too). Don't try to find the tbody, it gets added by default.
.decompose()
method.