WEBVTT

00:00.650 --> 00:08.780
So before we get into the coding part, I think it's a good idea that we are going to see what exactly

00:08.780 --> 00:10.070
we are scraping.

00:10.370 --> 00:19.040
So I'm on the Airbnb page, I'm inside of the home section because I want to look at home.

00:19.060 --> 00:25.160
So I go to homes and well, then I select a city.

00:25.190 --> 00:33.170
In this case I am looking at Copenhagen homes in Copenhagen.

00:33.440 --> 00:36.530
So I click here and it says Show all.

00:37.970 --> 00:42.890
Of course you can choose any city you want, any place you want, but in this tutorial.

00:42.890 --> 00:46.370
Exactly, we are choosing to do Copenhagen.

00:48.900 --> 00:56.810
Um, okay, so when you are in this page view, you can see as I scroll down, we get more pages of

00:56.810 --> 00:57.740
homes.

00:58.880 --> 01:11.690
But for this I want to show you if you make the page, um, smaller, then they put a little bar down

01:11.690 --> 01:12.380
here.

01:12.800 --> 01:20.690
So now you can have links that you can go on to for the different pages, which makes it a lot easier

01:20.690 --> 01:26.480
to scrape the pages, then automating the scrolling down and so on.

01:26.480 --> 01:33.830
You can just go to a link and scrape the homes on that page instead.

01:35.100 --> 01:42.870
So basically, when the window is a smaller size, the part below appears so you don't have to.

01:42.900 --> 01:47.790
So scroll down to get more homes and that's a lot easier to scrape.

01:48.330 --> 01:58.530
Now when then we want to scrape all of the links of these homes and then we want to go into the description

01:58.530 --> 02:06.630
page of each of the homes and we want to get the number of guests you can have, the bedrooms, they

02:06.630 --> 02:10.320
got the beds and the baths they got.

02:12.270 --> 02:17.910
And yeah, of course, you also want the price per night.

02:19.790 --> 02:25.670
And that's basically what we are going to get for now in this scraper.

02:25.940 --> 02:31.130
And we're also going to get just an URL for this image, the top image here.

02:32.330 --> 02:32.720
Okay.

02:32.720 --> 02:34.960
So I hope that cleared it up a bit.

02:34.970 --> 02:43.190
What we are going to get from the the Airbnb site, we are going to get all the homes, the URLs here

02:43.190 --> 02:44.330
in this page.

02:44.360 --> 02:48.920
Then we go inside of the description and get the.

02:49.560 --> 02:50.940
Info up here.

02:51.780 --> 02:53.310
The guest and so on.

02:53.310 --> 02:54.210
Rooms.

02:54.210 --> 02:58.500
And we get the price per night over here.

02:59.670 --> 03:00.720
Okay, everyone.

03:00.720 --> 03:05.400
So let's get on to the next section where we start the actual scraper.
