Skip to content

Instantly share code, notes, and snippets.

@merryt
Created April 4, 2018 03:06
Show Gist options
  • Select an option

  • Save merryt/112bf455e71c2a3cfa3286a6ea0959ac to your computer and use it in GitHub Desktop.

Select an option

Save merryt/112bf455e71c2a3cfa3286a6ea0959ac to your computer and use it in GitHub Desktop.
$.map($(".transactions-data-row"), function(i){
return {
date: $.trim($(i).find(".transactions-date")[0].innerText).replace("\n", " "),
location: $(i).find(".transactions-description")[0].innerText,
amount: $(i).find(".transactions-amount b")[0].innerText,
}
})
@merryt
Copy link
Author

merryt commented Apr 4, 2018

this runs in the console, it grabs the transactions from capital one accounts (needed to pull data from closed accounts)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment