Skip to content

Commit

Permalink
Merge pull request #44 from carljm/amazonfix
Browse files Browse the repository at this point in the history
Adjust to new link text on Amazon orders page.
  • Loading branch information
jbms authored Apr 26, 2021
2 parents 8ad28d3 + 604295b commit 2419906
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finance_dl/amazon.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def invoice_finder():

order_ids = set()
for invoice_link in invoices:
if invoice_link.text != "Invoice":
if "nvoice" not in invoice_link.text:
continue
href = invoice_link.get_attribute('href')
m = re.match('.*[&?]orderID=((?:D)?[0-9\\-]+)(?:&.*)?$', href)
Expand Down

0 comments on commit 2419906

Please sign in to comment.