Lurker News

Comments (337) 101 threads

Show all comments

Showing thread 35 of 101

jessedhillon2 replies#
I have a script that downloads bank and credit card transaction data, then applies rules to create a journal in GNU Ledger format.
tokenizerrr6 replies#
Do you use an API? Or just scraping? I've done the same, but stopped using it. Afraid my bank, if they detect it, might not like it.
rb8082 replies#
I want to do this too. Details would be handy. Even if its extracting data from PDF statements or saved HTML pages.
kensoh#
Basically use a web automation tool to simulate the login process and then grab the data you want, save it to .csv file or something. For saved HTML pages, web automation tools generally can work with them. For saved PDF I'm not sure what is good.
tokenizerrr#
I used CasperJS to download a specific CSV file, providing the chrome user agent. Then I used a simple NodeJS script to parse this.
kensoh1 reply#
I did the same lol (via scraping), run every midnight to multiple bank accounts, then sync to google spreadsheet. I was writing web automation scripts the hard way for a while, until I made a tool to simplify the process of writing web automation scripts - https://github.com/tebelorg/TagUI (frankly I am surprised why my banks never banned or send me a letter)
dmak#
I clicked it expecting a basic script, but this is pretty comprehensive. Nice work!
ams61102 replies#
Your bank would object to you accessing your own transaction data?
kensoh#
In theory they shouldn't, though I believe many financial websites explicitly declare in their terms of use that automated access or web scraping data is not allowed.
tokenizerrr#
Do a careful reading of your banks terms of service and you will likely find a clause either barring you from doing this completely, or voiding fraud protection.
dmak#
Whole businesses like Yodelee and Plaid do this.
tmerr1 reply#
I use Selenium to drive a firefox browser under the assumption that banks don't care enough to detect it: https://github.com/tmerr/bank_wrangler . I am also slightly worried about banks not liking it, but if they do care I guess I will receive a scary cease and desist in the mail and I will cease and desist.
tokenizerrr1 reply#
My concern is about what will happen if fraudulent activity happens, such as my account getting hacked somehow. Then they look into my account, discover I've been doing this somehow, tell me I've broken their TOS and I'm on my own.

Continue this thread — 1 reply

jessedhillon#
I used to use pyofx and a lot of custom scraping to get this, but now I use Plaid. I work at Plaid now, but I used it before I got this position.
leksak1 reply#
This sounds incredibly rude, but why? Maybe my income is too small for me to see the benefit (student) :p
jessedhillon#
It can be eye-opening to track and categorize every dollar spent, even if just for a few months. Especially for younger people who are earning serious money for the first time.