How to Extract Data from Airbnb?Wednesday, April 20, 2016 11:23 PM
Welcome to Octoparse’s tutorial. Octoparse is a web scraping tool specifically designed for mass-gathering of various data types. If you don’ t have an account yet, please sign up at octoparse. com.
In this tutorial, I will show you how to scrape information from Airbnb. You can get data from all the rooms with the extractor.
First of, Enter the task name. Save your task to a category. Then click “next” to the second step.
Open the Airbnb homepage in the build-in browser. You can search a place where you want to scrape room information in the search textbox.
Or just click on a place on homepage. Choose “click an item”.(I choose Tokyo.)
Then configure pagination action. Wait until the page loaded, scroll down the page to the bottom. Click on “Next” page link. Select “Loop click the element”.
Then we need to create a list of item to get into the detail page.
Click on the first title > Create a list of item > Select Add current item to the list > Select Continue to edit the list.
Click on the second one > Add current item to the list > Finish creating list > Loop
Now I’m on the detail page. Next, extract data. Click on the data you want to extract.
Click on the title, then choose “extract text”. Then you can extract other information you want.
Then change name in define field.
Next, check out Workflow designer
Drag the second “Loop Item” before “Click to paginate” action.
Once done configuring extraction rule, click “Next”.
You can choose not to load images to speed up the extraction. But sometimes may cause problems on certain websites. Then click “Next”.
Now the Task is completed! Choose the Local extraction to run the task on your computer.
The data extracted will be showed in this pane and we can also see the configured rule of the task. You can also check out the build-in browser to see if the task runs as expected.
Export the results to Excel files, or other formats and save the file to the computer.
This is the data extracted. Looks pretty good.
You’ve seen how Octoparse extract data from the website quickly and effectively.
You’ re ready to extract data from Airbnb. Try it now!
If this video tutorial is not available for you, you can click here to see the corresponding graphic tutorial.