Pulling out <TITLE></TITLE>

Chris Liechti cliechti at gmx.net
Sun Nov 18 19:11:47 EST 2001


[posted and mailed]

"David A McInnis" <david at dataovation.com> wrote in
news:mailman.1006125625.21231.python-list at python.org: 

> I am writing a script to catalog about 30,000 html pages on my site and
> need to pull out the value of <TITLE></TITLE>.
> 
> I guess this is possible with htmllib, but I cannot figure it out.>
>
> Thanks,
> David
> 

this may help, but it is using the sgmllib for parsing HTML:
http://diveintopython.org/dialect_divein.html

-- 
Chris <cliechti at gmx.net>




More information about the Python-list mailing list