Getting the nth element using BeautifulSoup,rows = soup.findAll('tr')[4::5]