A Python script that extracts paid transactions from Apple Account HTML pages and generates:
- A CSV file with all transactions (date, item name, amount, subscription status)
- An HTML summary report with charts showing repeated transactions and yearly spending trends
-
Prerequisites: Install required dependencies:
pip install beautifulsoup4 matplotlib
-
Prepare your data: Save the HTML page from reportaproblem.apple.com as
apple.htmlin the project directory. -
Run the script:
python extract_transactions.py
-
Output files:
apple_transactions.csv- All transactions in CSV formatapple_transactions_summary.html- Interactive summary report with charts