tripadvisor-scraper icon indicating copy to clipboard operation
tripadvisor-scraper copied to clipboard

Prices are missing in the output

Open zpelechova opened this issue 3 years ago • 4 comments

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

zpelechova avatar Jul 01 '21 07:07 zpelechova

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.

gustavotr avatar Jul 04 '21 18:07 gustavotr

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

zpelechova avatar Jul 08 '21 06:07 zpelechova

@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?

gustavotr avatar Jul 08 '21 12:07 gustavotr

@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

pocesar avatar Jul 08 '21 13:07 pocesar