h0uk writes:
> On 8 янв, 08:44, Water Lin wrote:
>> I am a new guy to use Python, but I want to parse a html page now. I
>> tried to use HTMLParse. Here is my sample code:
>> --
>> from HTMLParser import HTMLParser
>> from urllib2 im
parse it. I can locate the div tag but I don't know how
to get the text for the tag which is "open article title" in my example.
How can I get the html content? What's wrong in my handle_data function?
Thanks
Water Lin
--
Water Lin's notes and pencils: http://en.waterlin.org
Email: water...@ymail.com
--
http://mail.python.org/mailman/listinfo/python-list