dtrungtin / actor-booking-scraper

Actor for extracting data about hotels from Booking.com
https://apify.com/dtrungtin/booking-scraper
Apache License 2.0
17 stars 19 forks source link

Error: Wrong currency #24

Closed aab753 closed 3 years ago

aab753 commented 4 years ago

ERROR BasicCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {https://www.booking.com/...} 2020-10-30T19:56:48.432Z Error: Wrong currency: null, re-enqueuing... 2020-10-30T19:56:48.434Z at PuppeteerCrawler.handlePageFunction (/home/myuser/src/main.js:161:23) 2020-10-30T19:56:48.436Z at runMicrotasks (<anonymous>) 2020-10-30T19:56:48.460Z at processTicksAndRejections (internal/process/task_queues.js:97:5) 2020-10-30T19:56:48.462Z at async /home/myuser/node_modules/apify/build/utils.js:317:26

The following error happens for each URL being processed, no matter what the input is (and no matter whether the task is run manually or using API). As a result, each URL gets enqueued again when processed (which means the run can never finish since the same URL's get enqueued again and again).

mmorgan-consulting commented 3 years ago

This problem (as exactly defined by "aab753") has been ongoing since around the latter part of the 1st of Oct '20. However, I have made many successful runs by repeating the runs and aborting when the looping begins. The successful runs were random and in many cases the runs were continuously successful. Since Jan 5, 2021, I've not had a successful run.

Please take a moment to test this Actor as it is no longer working. If tests show otherwise, let's collectively attempt to determine why it is working for some and not others.

metalwarrior665 commented 3 years ago

I'm sorry that this has taken so long. We are scaling our capacity to make these fixes fast. I removed this broken check that causes the error.