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

"Couldn't get popover #a-popover-content-3 within 2000ms" #997

Open DiniskaWolfiii opened 1 month ago

DiniskaWolfiii commented 1 month ago

When I run the docker container for amazon (as well business and private), round about half of the invoices won't be downloaded as it seems to run into a timeout.

[0] [info] [2024-08-08 13:08:52] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:54] [scrape:amazon]:      Couldn't get popover #a-popover-content-1 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:54] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Processing "51" orders
[0] [info] [2024-08-08 13:08:54] [scrape:amazon]:       Order date: *******
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       1 invoices found 📃
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Processing "52" orders
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Checking if folder exists. If not, create: data
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Writing file: /home/node/docudigger/data/null_AMZ_*******.pdf
[0] [info] [2024-08-08 13:08:55] [scrape:amazon]:       Order date: *******
[0] [error] [2024-08-08 13:08:57] [scrape:amazon]:      Couldn't get popover #a-popover-content-3 within 2000ms. Skipping
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Processing "53" orders
[0] [info] [2024-08-08 13:08:57] [scrape:amazon]:       Order date: *******
[0] [warn] [2024-08-08 13:08:57] [scrape:amazon]:       No invoices found. Order may be undelivered. Check again later.

System: Win 11 23H2 Docker Version: 27.1.1 TLD: de

I've seen some a issue with exact the same error, but maybe in the meantime there is a solution for that?

Disane87 commented 2 weeks ago

Do you always have this errors? If not, please check if these orders are some sort of medias like purchased games or audible content. Please verify if they have an invoice too. Sometimes amazon (or mostly vendors from the marketplace) doesn't make them available instead thei send them with the article in the package physically.