[Tutor] Web browser

Alan G alan.gauld at freenet.co.uk
Sat Jun 11 10:01:38 CEST 2005


> What I need to do is load a web-page, enter a password-protected
site
> and follow certain links, it needs to have frames and follow the
refresh
> meta. I'm running winxp, python 2.4

Do you need to do this interactively in a browser?
It sounds like scripting the process using urlib might be a better
solution?

> Then, I thought about using some browser with bindings. I've looked
all
> over and found about nothing. Mozilla and its xpcom just seems quite
> hard and I'm not sure if that does the job I want. I tried finding
COM
> bindings in other browsers, but I coudn't understand them and make
them
> work...

You can use COM to script IE but navigating the mysteries of COM is
not
easy, especoially if you haven't done it before.

I suggest you look at urlib before going any further, but if you
really
need to have a real browser open IE may be your best bet.

Alan G



More information about the Tutor mailing list