Wiggins d Anconia wrote:
I am attempting to write a Perl script that can login to my account at

capitalone.com,


grab my balance and available credit and email them to me. I did this

successfully with my


online banking, but Capitalone's login is a pain in the ass to wrap my

head around. It


redirects you through 3 or pages before an actual login screen and

sets cookies at each


one. On one of the last pages, it has JavaScript that generates some

more cookies. So far,


I've got:



<snip code>

I'm not sure how much of the above is actually necessary, but those

are the pages that you


go through when manually logging in. That last page is where it starts

using JavaScript to


generate cookies just to make sure that you have JavaScript and

cookies enabled in the


browser. Can anyone help me out? Thanks.



Just a couple thoughts. Make sure you aren't violating user agreements,
etc.  Some instituitions could view this as a denial of service
depending on how often you intend to run it, etc.

Because you are looking to wrangle the HTTP request/response headers,
etc. there is a new (to me at least) extension for the Firebird
(Mozilla) browser, Live HTTP Headers, that allows you to view and
capture as you are browsing all of the actual response/request headers.
 This might help show exactly what is happening in the browser making it
easier to mimic in LWP or whatever.

More here:
http://www.texturizer.net/firebird/extensions/#livehttpheaders

Very cool for web app developers...

That is a very cool plugin. It appears to work with Mozilla, also. I think that will help a lot. Thanks.


--
Andrew Gaffney
System Administrator
Skyline Aeronautics, LLC.
776 North Bell Avenue
Chesterfield, MO 63005
636-357-1548


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to