[Tutor] weather scraping with Beautiful Soup

Sander Sweers sander.sweers at gmail.com
Sat Jul 18 14:28:38 CEST 2009


2009/7/18 Che M <pine508 at hotmail.com>:
> table = soup.find("table","dataTable tm10")  #find the table
> tbody = table.find("tbody")                  #find the table's body

You can do this in one step.

tbody = soup.find('tbody')

Greets
Sander


More information about the Tutor mailing list