page = urllib.request.urlopen(url)
soup = BeautifulSoup(page)
for row in soup.html.body.findAll('tr'):
    data = row.findAll('td')
if data and 'subclass 885online' in data[0].text:
    pass
How to extract certain parts of a web page in Python