HTML DOM parser?

Paul Rubin phr-n2002b at NOSPAMnightsong.com
Thu Jul 18 20:51:50 EDT 2002


"David LeBlanc" <whisper at oz.net> writes:
> I put the above code into "ienavigate.py" and tried it and got:
> 
> Traceback (most recent call last):
>   File "ienavigate.py", line 6, in ?
>     dom = ie.document
>   File "J:\Python22\lib\site-packages\win32com\client\dynamic.py", line 448,
> in __getattr__
>     raise pythoncom.com_error, details
> pywintypes.com_error: (-2147352567, 'Exception occurred.', (0, None, None,
> None, 0, -2147467259), None)
> 
> Also got a browser window with a "403" error telling me I don't have
> permission to access index.html on www.nightsong.com.
> 
> I would be interested in getting this working, so any help is appreciated.

The exception might be legitimate, because of the 403 error.  Try
www.yahoo.com instead of www.nightsong.com.  www.nightsong.com really
does return a 403.



More information about the Python-list mailing list