HTML DOM parser?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Thu Jul 18 18:39:45 EDT 2002


Peter Hansen <peter at engcorp.com> writes:
> How about automating IE using Python?
> 
> from win32com.client import DispatchEx
> 
> ie = DispatchEx('internetexplorer.application')
> ie.visible = 1
> ie.navigate('http://www.nightsong.com')
> dom = ie.document
> 
> etc...
> 
> Access to the DOM tree of the document might be too slow for your
> needs, but if it's not, you definitely get a lot of bang for the buck...

That's a really interesting idea and I might try it.  I had been
thinking in terms of a Linux solution, but automating IE might be
ok for this particular application.  Thanks.



More information about the Python-list mailing list