Audible orders leads to exception
Disane87 opened this issue ยท comments
The invoice of the first order is correctly saved but the process throws an exception when audible orders are present
[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)
๐ This issue has been resolved in version 2.0.6-dev.1 ๐
The release is available on:
Your semantic-release bot ๐ฆ๐