[Tutor] weather scraping with Beautiful Soup
Michiel Overtoom
motoom at xs4all.nl
Fri Jul 17 20:02:22 CEST 2009
Che M wrote:
> "http://www.wund.com/cgi-bin/findweather/getForecast?query=Worthington%2C+OH"
>
> Any help is appreciated.
That would be:
daytemp = soup.find("div",id="main").findNext("span").renderContents()
--
"The ability of the OSS process to collect and harness
the collective IQ of thousands of individuals across
the Internet is simply amazing." - Vinod Valloppillil
http://www.catb.org/~esr/halloween/halloween4.html
More information about the Tutor
mailing list