Python equivalent of "lynx -dump"?
lewst at yahoo.com
Mon Mar 27 22:08:29 CEST 2000
I'm looking for a functional equivalent of the "-dump" option to the
lynx web-browser in Python. "-dump" dumps the formatted output of an
Right now I have a python program that captures the output of a
webpage and prints it like so:
lynxcmd = "lynx -dump %s" %url
data = os.popen(lynxcmd).read()
I would like to do this entirely within python instead of relying on
lynx to make the program more portable.
How can I capture only the formatted output of an HTML page within
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
More information about the Python-list