Comments (1)
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! :)
from barclayscrape.
Related Issues (19)
- barclays-pinsentry - 4 digit PIN
- Export to CSV does not work anymore HOT 2
- Export to OFX doesnt work HOT 5
- Example? HOT 1
- Login by memorable word broken HOT 10
- [phantom] Wait timeout of 5000ms expired, exiting. HOT 10
- Seems busted again, just me? HOT 10
- Last commit which used casper.js? HOT 2
- is there an issue with syncprompt? HOT 2
- "#pinsentryCode0" field missing HOT 48
- [Ignore] Understanding the different markup HOT 14
- Timeout error on login .. HOT 7
- Whole new shiny UI :( HOT 4
- Online Banking on Big Sur and Chrome? HOT 1
- Mobile PINSentry not being selected during login HOT 7
- New login page layer (aka No node found for selector: #lastDigits0) HOT 13
- Google Chrome version error HOT 12
- Couldn't find selector ".accounts-body" on page https://bank.barclays.co.uk/olb/balances/digital/btr/home/business HOT 30
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from barclayscrape.