Tripadvisor Scraper avatar

Tripadvisor Scraper

Try for free

Pay $3.00 for 1,000 results

View all Actors
Tripadvisor Scraper

Tripadvisor Scraper

maxcopell/tripadvisor
Try for free

Pay $3.00 for 1,000 results

This unofficial Tripadvisor API is a data extraction tool able to get data on hotels, restaurants, things to do, vacation rentals, attractions, tours, and public trips. Get pricing, contact details, amenities, awards, ratings, and more. Download your data in Excel, JSON, CSV, and other formats.

Do you want to learn more about this Actor?

Get a demo
TH

priceRange, subcategories and cuisines data issues

Closed

thehoster opened this issue
4 months ago

The key "priceRange" is getting the value "Mediterranean, Spanish, Fusion, Healthy", instead of the price range.

Also the the key "subcategories" is bringing an empty list while it should at least have one subcategory from TripAdvisor.

Finally the key "cuisines" is bringing the "cuisines" and "special diets" elements together instead of separated.

Thank you

lukas.prusa avatar

Hi TheHoster, thanks so much for reporting this!

The page has been updated and this caused issues within our selectors, unfortunately in a way that they somehow intervene with each other.

Btw, looking at the cuisines, it has always been unintentionally scraped like this. This data is currently extracted from an API, and from a quick glance at the page, it looks to be very hard to extract. We will see what we can do about it.

We will fix this quickly tomorrow!

lukas.prusa avatar

Hi again,

I'm happy to inform you, that we've just updated the scraper with the fix ;)

Regarding the subcategories, this seems to be some ancient data we are simply to this day extracting from an old API. I was actually able to find some documentation for this via google, and the first thing mentioned there is “The content below is outdated.”.: https://developer-tripadvisor.com/content-api/business-content/categories-subcategories-and-types/

Changelog:

  • Fixed restaurants price range extraction, for cases where the price range is not available and a secondary page layout
  • Fixed restaurants preview photos extraction on secondary page layout
  • Fixed ranking denominator data extraction on secondary restaurants page layout
  • Fixed cuisines extraction for restaurants

Try it out and let me know how it works now, thanks and happy scraping!

Developer
Maintained by Apify
Actor metrics
  • 393 monthly users
  • 58 stars
  • 97.0% runs succeeded
  • 3.1 days response time
  • Created in Nov 2019
  • Modified 3 days ago
Categories