NOTE: The chalmers statements website has been replaced with a new and improved one, thus rendering this project obsolete!
Temporary Node.js scraper for your chalmers-card account statements, until Chalmers decides to build an API.
Make sure git and npm is installed.
git clone https://github.com/Nermin99/chalmers-statements-scraper.git
cd chalmers-statements-scraper
cp .env.example .env
npm install
The first time you will be prompted for a manual login, in order to save your cookie, thereafter it's handled automatically (for another year).
To run the app:
npm start
If all went smooth, two new files (.csv and .json) were created under 'RESULTS/'. They contain all of your chalmers purchases in terms of objects of date, name and price. You do as you wish with your own data.
- Import -> CSV file.
- Select Delimited data
- File origin: UTF-8
- Delimiters: ☑️Comma ☑️Space
- ☑️Treat consecutive delimiters as one
- Text qualifier: "