maxCopell / tripadvisor-scraper

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

Prices are missing in the output #40

Open zpelechova opened 3 years ago

zpelechova commented 3 years ago

https://my.apify.com/view/runs/ysbjh04ITwZg6DMj8

gustavotr commented 3 years ago

The API endpoint that returns the prices seems to not find any offer for the locations. I tried to make some changes to see if it returns something but no luck there. What I managed to do is to add a field for the price range (lowest and highest) on PR #51. Since it did not depend on the endpoint that returns the offers, it displays the values with no problems.

zpelechova commented 3 years ago

I think that will do, the only thing I cannot tell from the commit - what happens with the field I was complaining about? Does it 1)stay there and is always empty 2)stay there and is sometimes empty 3)doesn't stay there

gustavotr commented 3 years ago

@zpelechova I left the field as it was for now. From the runs that I did it always returned empty so I left commented out since Paulo must have had a reason to do it. @pocesar do you remember why you commented out the getPlacePrices function?

pocesar commented 3 years ago

@gustavotr it's always returning empty, I couldn't find an endpoint that would return this data from their website. part of the API comes from watching the request of legacy mobile clients