Grummle / chase-bank

Hacktastic way to get your data out of JP Morgan Chase
GNU General Public License v2.0
17 stars 4 forks source link

Error #1

Closed micalexander closed 10 years ago

micalexander commented 10 years ago

I get

undefined:1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> ^ SyntaxError: Unexpected token <

Grummle commented 10 years ago

Not the most useful error message. I should work on that. It does work though.

Did you use the emb.deviceSigCookieValue cookie from your browser?

micalexander commented 10 years ago

No that is the part I didn't understand. Do I need to go to chase through my browser manually first and retrieve the cookie that way?

Ok added the cookie and got it to work. Do I have to be logged in all the time for this to work?

Grummle commented 10 years ago

Yes, sorry I should have been clear.

When you initially go to the Chase website in a browser and try to sign in it requires that you get a code from another source (email,sms,phone call). This causes your machine to be recognized by chase. So after you able to access the site in your browser you an get the cookie out and use it to basically spoof your authorized browser. Lame I know.

On Thu, Aug 22, 2013 at 11:08 AM, Mic Alexander notifications@github.comwrote:

No that is the part I didn't understand. Do I need to go there manually first and the inspect to retrieve the cookie manually?

— Reply to this email directly or view it on GitHubhttps://github.com/Grummle/chase-bank/issues/1#issuecomment-23102823 .

Grummle commented 10 years ago

Did you get this to work?

micalexander commented 10 years ago

Sorry for not replying sooner. Yes I did get it to work. Unfortunately it wasn't as reliable as I hoped. I find myself having to keep signing into the mobile web app in order for the script to work. Is this the way that it's meant to work?

Grummle commented 10 years ago

No, how often are you hitting the page? I've got mine running on a cron job twice daily and its been running reliably for about a month now. It gets my balance in the morning and at 5pm and sends it to me via text message.

On Tue, Aug 27, 2013 at 8:08 AM, Mic Alexander notifications@github.comwrote:

Sorry for not replying sooner. Yes I did get it to work. Unfortunately it wasn't as reliable as I hoped. I find myself having to keep signing into the mobile web app in order for the script to work. Is this the way that it's meant to work?

— Reply to this email directly or view it on GitHubhttps://github.com/Grummle/chase-bank/issues/1#issuecomment-23333991 .

micalexander commented 10 years ago

Interesting. I was trying it like once a day. What I initially wanted it for was to have it pull from with in excel and have it post to cells so I can use in my budget but it has been spotty. I definitely think that it is a clever hack. I think I'm gonna try to build a something that will access chase directly through their api. idk

Grummle commented 10 years ago

"directly through their api" - This is as close to an api as I've been able to find. If you know of another one let me know.

If you wouldn't mind getting me some debugging information I can take a look. Make sure your careful about what you send though :)

On Tue, Aug 27, 2013 at 8:22 AM, Mic Alexander notifications@github.comwrote:

Interesting. I was trying it like once a day. What I initially wanted it for was to have it pull from with in excel and have it post to cells so I can use in my budget but it has been spotty. I definitely think that it is a clever hack. I think I'm gonna try to build a something that will access chase directly through their api. idk

— Reply to this email directly or view it on GitHubhttps://github.com/Grummle/chase-bank/issues/1#issuecomment-23335049 .

micalexander commented 10 years ago

Sure. Do you want me to open another issue so you can close this one?

micalexander commented 10 years ago

Im currently looking at http://www.yodlee.com/. They are the who https://www.mint.com/ was using to pull their user data up until the time that Intuit bought them out.

Grummle commented 10 years ago

Sure, always nice to look like I'm doing something :)

On Tue, Aug 27, 2013 at 9:14 AM, Mic Alexander notifications@github.comwrote:

Im currently looking at http://www.yodlee.com/. They are the who https://www.mint.com/ was using to pull their user data up until the time that Intuit bought them out.

— Reply to this email directly or view it on GitHubhttps://github.com/Grummle/chase-bank/issues/1#issuecomment-23339410 .