Airbnb Scraper avatar
Airbnb Scraper
Try for free

No credit card required

View all Actors
Airbnb Scraper

Airbnb Scraper

tri_angle/airbnb-scraper
Try for free

No credit card required

Scrape whole cities or extract data from hundreds of Airbnb rentals in seconds. Extract host information, addresses, locations, prices, availability, stars, reviews, images, and host/guest details for free. Download scraped data in various formats including HTML, JSON and Excel.

User avatar

Location json is malformed for some rooms

Closed

plasim opened this issue
22 days ago

The location json looks like this for most rooms:

1"location": {
2   "lat": 31.63399,
3   "lng": -7.99043
4}

But for some rooms we get the following response:

1"location": {
2  "lat": {
3    "s": 1,
4    "e": 1,
5    "c": [
6      45,
7      16504399985810,
8      60000000000000
9    ]
10  },
11  "lng": {
12    "s": -1,
13    "e": 0,
14    "c": [
15      1,
16      7322992451131,
17      4000000000000
18    ]
19  }
20}
User avatar

user-QTCSqNqfq4ZqqWzWk

21 days ago

I have the same issue. Thanks. Please find an Excel that shows the issue attached

User avatar

Hello, thank you both for reporting the issue! The fix is already being tested so it will be published soon.

User avatar

user-QTCSqNqfq4ZqqWzWk

17 days ago

Thank you! Do you have any estimation when? As for now I see that it is still not working.

User avatar

user-QTCSqNqfq4ZqqWzWk

11 days ago

Hi, I've noticed that the issue is with the listing ID as well. Thank you!

User avatar

Hello

We are looking into this issue, and will update you with the fix shortly

User avatar

Hello, this issue was unfortunately blocked by another issue so it took longer for the changes to propagate here. The location should now be extracted correctly, see the example run: https://console.apify.com/view/runs/Lm5uNrPkSBjq9JMTo

The issue was related to coordinates with many decimal places, such as:

1{
2  "lat": 38.53544994576149,
3  "lng": -121.69389846342978
4}
Developer
Maintained by Apify
Actor metrics
  • 358 monthly users
  • 99.0% runs succeeded
  • 18 days response time
  • Created in Dec 2019
  • Modified 6 days ago
Categories