beautiful soup table id class code example Example: find table with class beautifulsoup tab = soup.find("table",{"class":"wikitable sortable"})