IEHtmlWindow

hwg <[email protected]>
Newsgroups gmane.comp.python.pythoncard
Message-ID <[email protected]>
I have a couple questions about IEHtmlWindow.

I'm working on a tool to help me manage my Yahoo Photo accounts.  I would like to use a browser window to perform the login.  But then I need to pass control over to my code, which uses urllib2, cookielib, and BeautifulSoup to get and parse the album and photo pages.

I need the cookie generated from the login in order to get subsequent pages.  So, a few questions:

1. Where does IEHtmlWindow store its cookies?  Can I copy the cookie over so that my cookielib code can use it?  (If I log in using my own code, not a browser window, then the cookie is stored in the cookiefile I initialize in the code.)

2. How can I access the contents (HTML source) of an IEHtmlWindow?  If I can't get the cookies to work, an alternative is to pass everything through the browser window, which will use the cookie it got during login.

3. Is there a way to make a "password entry" text field, where the typed characters are masked (appear as stars)?  

By the way, the reason I want to use a browser window instead of just passing the  username and password  from some text fields in my Pythoncard app is that occasionally, the user gets one of those login challenges, where they give you an image, and you have to type in the "secret code".  If they are logging in through the browser window, they can see this and respond accordingly.

Any help with this would be much appreciated.  

hg


 
---------------------------------
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

_______________________________________________
Pythoncard-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pythoncard-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.