Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olso/d62eaeddb847ff2129a5e1edc9f79d4c to your computer and use it in GitHub Desktop.
Save olso/d62eaeddb847ff2129a5e1edc9f79d4c to your computer and use it in GitHub Desktop.
1. resend all rides to your email throught app (manual clicking but not so bad)
2. in gmail, go to settings and disable conversation mode view
3. select all emails from bold and right click to send as attachement
4. send this email to yourself
5. download all attachements
6. (optinal) revert settings in step 2.
download invoices using bash:
for f in * ; do
URL=`grep -roh "$f" -e 'https:\/\/invoice.taxify.eu\/[^"]*'`
INVOICE=`grep -roh "$f" -e 'Invoice no. [0-9]*'`
DATE=`grep -roh "$f" -e '[0-9][0-9]\.[0-9][0-9]\.20[0-9][0-9]'`
wget -O "$DATE - $INVOICE.pdf" "$URL";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment