[Tutor] weather scraping with Beautiful Soup

Che M pine508 at hotmail.com
Fri Jul 17 20:42:27 CEST 2009


> 2009/7/17 Michiel Overtoom <motoom at xs4all.nl>:
> > This is actually the first time I see that BeautifulSoup is NOT able to
> > parse a webpage...
> 
> Depends on which version is used. If 3.1 then it is much worse with
> malformed html than prior releases. See [1] for more info.
> 
> Greets
> Sander
> 
> [1] http://www.crummy.com/software/BeautifulSoup/3.1-problems.html

Yes....I just read about the 3.1 problems, and switched to 3.07a, re-ran
the exact same code as befor...and it worked perfectly this time.  

(For those novices who are unsure of how to install a previous version,
I found that I only had to simply clear out what BS files I had already
under site-packages, and just put the Beautiful Soup.py 3.0.7a file found 
on the website into that site-packages folder...very easy).

Lots of useful information today, thank you to everyone.

Che

_________________________________________________________________
Windows Live™ SkyDrive™: Get 25 GB of free online storage.
http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20090717/d1d56eb7/attachment.htm>


More information about the Tutor mailing list