Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Available Balance #12

Closed
Sc0th opened this issue Apr 5, 2016 · 1 comment
Closed

Available Balance #12

Sc0th opened this issue Apr 5, 2016 · 1 comment

Comments

@Sc0th
Copy link

Sc0th commented Apr 5, 2016

Would it be possible to have the choice of including the current available balance in the export_csv.js option?

@Sc0th
Copy link
Author

Sc0th commented Apr 10, 2016

FWIW, I changed the function to be -

var fs = require('fs');

function parseHtml(accountName, accountNumber) {
var page = 'https://bank.barclays.co.uk/olb/balances/SeeStatementsDirect.action?productIdentifier=' + accountNumber;
casper.thenOpen(page, function openAccount() {
var html = this.getPageContent();
var f = fs.open('./data.out', 'w');
f.write(html);
f.close();
});
}

Then employed some grep&awk

The login stuff is very helpful, thank you for your work! :)

@Sc0th Sc0th closed this as completed Apr 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant