Back to all Bounties
Earn 2,250 ($22.50)
due 2 years ago
Completed
Scrape Lat & Long From Airbnb Listings via Python, Selenium & BeautifulSoup
mrohioguy
Details
Applications
1
Discussion
This Bounty has been completed!
@mrohioguy's review of @A2Pro“A+++. Completed way ahead of schedule. Will be working with you again.”
5.0
Communication 5/5, Quality 5/5, Timeliness 5/5Bounty Description
Problem Description
I need to scrape latitude and longitude coordinates from Airbnb listings.
The issue I'm currently having is that these coordinates can be found in a URL that is present in an anchor tag that only appears in the source code once you scroll down the page.
See source code and screenshot here:
https://imgur.com/a/EmgEaeM
This is an example URL in which we need to extract the latitude and longitude coordinates from:
https://maps.google.com/maps?ll=33.87287,-78.62445&z=14&t=m&hl=en&gl=US&mapclient=apiv3
The coordinates are present in the ll parameter (33.87287,-78.62445)
Acceptance Criteria
- Script must successfully scrape the ll parameter value from the URL that begins with
https://maps.google.com/maps?
- Script must successfully output correct latitude & longitude coordinates
- Script must work on any US-based Airbnb Listing Page URL
- Final deliverable is a working script on Google Colab that will be shared with me
Technical Details
- Must use Python, Selenium & BeautifulSoup
- Script must be on Google Colab
Important Notes
- I am open to using something other than Google Colab, so long as it is not local.
- If you want to use something other than Google Colab, you MUST get my approval or it will NOT be accepted.