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 cities or direct URLs of Airbnb rentals. Extract descriptions, locations, prices per night, ratings, reviews count, host details, amenities and more. Download scraped data in various formats including HTML, JSON and Excel.

PL

Location json is malformed for some rooms

Closed

plasim opened this issue
3 months 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}
UQ

user-QTCSqNqfq4ZqqWzWk

3 months ago

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

lhotanok avatar

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

UQ

user-QTCSqNqfq4ZqqWzWk

3 months ago

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

UQ

user-QTCSqNqfq4ZqqWzWk

2 months ago

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

tri_angle avatar

Hello

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

lhotanok 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
  • 178 monthly users
  • 34 stars
  • 99.4% runs succeeded
  • 3.5 days response time
  • Created in Dec 2019
  • Modified about 9 hours ago