Script to fetch account and card statements from Raiffeisen Connect (tested only with russian Raiffeisen branch). It uses casperjs (based on phantomjs, which based on webkit) to load R-Connect and navigate to statements. Login captcha could be decoded manually using yad (zenity fork) or automatically using deathbycaptcha.com service (paid, 6.95$ for 5K captchas).
Requirements:
Installation (for ArchLinux):
yaourt -S yad casperjs
git clone https://github.com/nikicat/fetchraif.git
Usage:
./fetchraif.js --captcha-decoder=[manual|deathby] \
--raif-login=RCONNECT_LOGIN --raif-password=RCONNECT_PASSWORD \
[--deathby-login=DEATHBY_LOGIN --deathby-password=DEATHBY_PASS]
As a result there will be several statement.*.csv
files, one for each card and one for each account.
In case of any problems debug output could be enabled using these options
casperjs --direct --log-level=debug ./fetchraif.js ...
For more info see casperjs docs