Disane87 / docudigger

Website scraper for getting invoices automagically as pdf (useful for taxes or DMS)
https://blog.disane.dev
MIT License
52 stars 7 forks source link

Audible orders leads to exception #827

Open Disane87 opened 3 months ago

Disane87 commented 3 months ago

The invoice of the first order is correctly saved but the process throws an exception when audible orders are present image

[error] [2024-06-07 08:06:42] [scrape:amazon]: Failed to get order details: Error: failed to find element matching selector "#ordersContainer > div:nth-child(3) > div.a-box.a-color-offset-background.order-info > div > div > div > div.a-fixed-right-grid-col.a-col-left > div > div.a-column.a-span2 > div.a-row.a-size-base" Error: Error: failed to find element matching selector "#ordersContainer > div:nth-child(3) > div.a-box.a-color-offset-background.order-info > div > div > div > div.a-fixed-right-grid-col.a-col-left > div > div.a-column.a-span2 > div.a-row.a-size-base" at CdpElementHandle.$eval (C:\Workspace\Private\docudigger\node_modules\puppeteer-core\src\api\ElementHandle.ts:425:13) at async Amazon.getOrder (C:\Workspace\Private\docudigger\src\commands\scrape\amazon\index.ts:236:31) at async Amazon.processOrderPage (C:\Workspace\Private\docudigger\src\commands\scrape\amazon\index.ts:99:44) at async Amazon.processYears (C:\Workspace\Private\docudigger\src\commands\scrape\amazon\index.ts:76:47) at async Amazon.run (C:\Workspace\Private\docudigger\src\commands\scrape\amazon\index.ts:51:33) at async Amazon._run (C:\Workspace\Private\docudigger\node_modules\@oclif\core\lib\command.js:311:22) at async Config.runCommand (C:\Workspace\Private\docudigger\node_modules\@oclif\core\lib\config\config.js:433:25) at async Object.run (C:\Workspace\Private\docudigger\node_modules\@oclif\core\lib\main.js:92:16)

Disane87 commented 3 months ago

:tada: This issue has been resolved in version 2.0.6-dev.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: