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

Cannot read property '$' of undefined at module.exports.setMinMaxPrice #38

Closed metalwarrior665 closed 2 years ago

metalwarrior665 commented 3 years ago

Happened to a user running this locally. The parsing is not well handled.

My input is {
   "search": "MARTA-Dunwoody Station, Atlanta, Georgia, United States"
} 
 Error is given below 
ERROR PuppeteerCrawler: handleRequestFunction failed, reclaiming failed request back to the list or queue {"url":"https://www.booking.com/searchresults.html?dest_type=city&ss=MARTA-Dunwoody%20Station%2C%20Atlanta%2C%20Georgia%2C%20United%20States&order=bayesian_review_score&rows=25%22,%22retryCount%22:3,%22id%22:%22Lh6NSEFfDuMttje%22%7D
  TypeError: Operation failed. Error detail: Cannot read property '$' of undefined
      at module.exports.setMinMaxPrice (C:\bookingPOC\actor-booking-scraper\actor-booking-scraper-master\src\util.js:214:42)
dtrungtin commented 3 years ago

Please share the run.