Last active
April 27, 2023 14:56
-
-
Save vavrecan/2bca846507d8b36c2c15d613d84296c7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
I had to do it too, here is another solution:
.eml
update this script