html link parser?

Aahz Maruch aahz at netcom.com
Fri Jul 14 18:51:51 EDT 2000


In article <j%Lb5.5560$tI4.377238 at bgtnsc05-news.ops.worldnet.att.net>,
Paul Johnston <johnston.p at worldnet.att.net> wrote:
>
>I'm looking to parse the links out of an html document.  Is there a module
>analogous to Html::LinkExtor (perl)?

Use htmllib.  When you parse a document, the links are available as a
list called parser.anchorlist.
--
                      --- Aahz (Copyright 2000 by aahz at netcom.com)

Androgynous poly kinky vanilla queer het    <*>     http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6

"Let's go home and turn on MTV.  I want to watch some Pop-Up Videos."
"Pop-Up Videos is not on MTV, it's on VH-1."
"'MTV' is a generic."



More information about the Python-list mailing list