urllib to open url with frames?

Gerhard Häring gerhard.haering at opus-gmbh.net
Wed Aug 21 02:47:55 EDT 2002


Craig H. Anderson wrote:
> I want to read the playlist from local public radio station.
> My first attempt to use urllib got an error:
> This page uses frames, but your browser doesn't support them.

urllib only knows about HTTP (the transport protocol), nothing about HTML
(one format you can stream over HTTP). In particular, it's not a browser
;-)

I don't know what you want to achieve, but parsing the HTML and following
the FRAME SRC might be what you want.
- 
Gerhard Häring
OPUS GmbH München
Tel.: +49 89 - 889 49 7 - 32
http://www.opus-gmbh.net/



More information about the Python-list mailing list