add bmo parser, some refactors

This commit is contained in:
2025-04-24 18:17:20 -07:00
parent bb1fcb3d94
commit d1845cc5d9
6 changed files with 94 additions and 43 deletions

View File

@@ -58,7 +58,7 @@ class MinimalBankParser(TransactionParser):
return msg["From"] == "Minimal Bank <alerts@minimalbank.com>" and "Transaction Alert" in msg["Subject"]
def extract(self, msg):
body = msg.get_body().as_string()
body = msg.get_content()
amount = ... # Extract amount from body
date = ... # Extract date from body
payee = ... # Extract payee from body