How to extract a part of html file

Ben Finney bignose+hates-spam at benfinney.id.au
Thu Oct 20 08:38:07 CEST 2005


Joe <dinamo99 at lycos.com> wrote:
> I'm trying to extract part of html code from a tag to a tag

For tag soup, use BeautifulSoup:

    <URL:http://www.crummy.com/software/BeautifulSoup/>

Available as a package in Debian, probably other decent OSen also.

-- 
 \         "I think it would be a good idea."  -- Mahatma Gandhi (when |
  `\                    asked what he thought of Western civilization) |
_o__)                                                                  |
Ben Finney



More information about the Python-list mailing list