[Tutor] weather scraping with Beautiful Soup

Che M pine508 at hotmail.com
Fri Jul 17 20:28:58 CEST 2009




> Date: Fri, 17 Jul 2009 20:02:22 +0200
> From: motoom at xs4all.nl
> To: tutor at python.org
> CC: pine508 at hotmail.com
> Subject: Re: [Tutor] weather scraping with Beautiful Soup
> 
> 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()
> 

Thank you, that works!  I'll go try some more things and read more of
the documentation and if I bump into more confusions I may have more
questions.

Che

_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090717/e203ae70/attachment.htm>


More information about the Tutor mailing list