This script will search the table on the page, format all rows/cells into a CSV formatted string and download it as CSV file. The file is formatted with semicolon as delimiter and all columns are wrapped in double quotes.
In my test, the file can be opened correctly in Excel (v2011, macOS).
Date | Title | Payment Method | Amount |
---|---|---|---|
2007-06-22 | Tools | Cash | 15.00 |
2008-03-27 | Bottle of wine | PayPal | 12.00 |
2009-07-04 | Trip to Las Vegas | Cash | 500.00 |
2010-12-07 | Repairs | Credit Card | 1050.43 |
2011-05-01 | Cinema Tickets | Credit Card | 35.00 |
2017-01-08 | Special char test | !"'§$%&;/\-_=?0 | €$¥ |