maxCopell / tripadvisor-scraper

Scrape Tripadvisor restaurant, hotels, and places.
https://apify.com/maxcopell/tripadvisor
47 stars 28 forks source link

API returns Status code 400 - Client key not set #65

Open JochenFromm opened 2 years ago

JochenFromm commented 2 years ago

The Tripadvisor scraper makes calls to an internal Tripadvisor API like

https://api.tripadvisor.com/api/internal/1.14/location/187275/hotels?currency=USD&lang=en&limit=1

This call returns now an "Error: Status code 400" in the logs, and if called directly in the browser it shows an "UnauthorizedException" error

{
   errors: [{
      type: "UnauthorizedException",
      message: "client key not set",
      code: "160"
   }]
}

Apparently this breaks the scraper 😞

metalwarrior665 commented 2 years ago

Ouch, thanks for catch. @zpelechova We might have to rework it