Friday 14 April 2017

Getting data from this website (with login requirement) via node.js and the request module

I am trying to scrap data with node.js and request module from this website: https://ebanking.easybank.at/InternetBanking/InternetBanking?d=login&svc=EASYBANK&ui=html&lang=de

When I logging in via a browser the login page redirects to this url: https://ebanking.easybank.at/InternetBanking/InternetBanking/019664455840$

It looks like the url contains the session id. How can I construct the url, and scarp data past the login page?

Also this does not return an error even with wrong credentials:

var request = require('request');

request.get(
'https://ebanking.easybank.at/InternetBanking/InternetBanking?d=login&svc=EASYBANK&ui=html&lang=de'
).auth('xxxx', 'xxxx', true);

How can i check if the authentication was successful? Is here a good tutorial to point me in the right direction?



via zanony

No comments:

Post a Comment