Getting source code from frames using urllib

Rene Pijlman reageer.in at de.nieuwsgroep
Thu Feb 27 02:39:48 EST 2003


Rene Pijlman:
[retrieve frames]
>Use the HTMLParser module to parse the HTML file. Override
>handle_starttag() to act on the <frame> tags.
>http://www.python.org/doc/current/lib/module-HTMLParser.html

Oh, and use urlparse.urljoin() to construct the URL of a frame
and retrieve it independently.

-- 
René Pijlman

Wat wil jij leren?  http://www.leren.nl




More information about the Python-list mailing list