nderkach / airbnb-python

A Python wrapper around the Airbnb API (unofficial)
Do What The F*ck You Want To Public License
186 stars 66 forks source link

Pull reviews from Airbnb experiences instead of accommodations #31

Open DavidPerea opened 2 years ago

DavidPerea commented 2 years ago

I'm trying to scrape Airbnb reviews. But not of the accommodations, but my intention is to scratch the reviews of the experiences section.

We can see how the accommodations and experiences differ in the link:

Accommodation: https://www.airbnb.mx/rooms/18298916

Experience: https://www.airbnb.mx/experiences/181572

I use this command: api.get_reviews(18298916, offset=20, limit=20)This command is perfect for accommodations, but when I add the ID of an experience it doesn't return anything.

I guess the reason this GitHub code is designed for hosting, rather than experiences. I think modifying it is easy, but I can't find it in the GitHub code where the hosting links are referenced.

Can you help me? Thank you!