WEBVTT

00:01.240 --> 00:09.080
Now we have our program that you give a link to this and it extracts all the important links for you.

00:09.080 --> 00:16.000
So later you can use it to gather information from each link and use them in a lot of places.

00:16.000 --> 00:20.600
So the program is almost completed and you see this part.

00:20.640 --> 00:26.000
We need to update this or put them into a function or a method.

00:26.400 --> 00:28.520
So let me create a method here.

00:28.600 --> 00:30.640
It is going to be global.

00:31.280 --> 00:37.960
And here I need to give the URL and then one tab here.

00:39.000 --> 00:43.320
And down here I need to call this method okay.

00:43.360 --> 00:45.800
So let's call it Grogol.

00:45.840 --> 00:50.040
And in here I need to give the URL as argument.

00:50.160 --> 00:55.680
And also I need to call this method from inside this method.

00:56.320 --> 00:59.600
And that is called recursion okay.

00:59.600 --> 01:00.840
So let's save it.

01:00.840 --> 01:04.400
And once again hit enter.

01:04.400 --> 01:05.840
You see that again.

01:05.840 --> 01:07.600
It is working perfectly.

01:07.600 --> 01:13.880
And it is giving me all the unique links which is inside the URL that we are providing here.

01:14.520 --> 01:19.280
And if I came back here, I provided something else, another link.

01:19.440 --> 01:24.150
Okay, Let's scan here, for example.

01:26.950 --> 01:28.270
Inside the server.

01:30.230 --> 01:32.110
For example, right here.

01:34.790 --> 01:36.510
Only copy this.

01:36.510 --> 01:39.870
Let's see if it is working for other website or not.

01:45.070 --> 01:52.510
So I copy this I save this and then I came back here I re-execute the program.

01:52.510 --> 01:55.870
You see that it has only one link.

01:55.910 --> 01:57.710
And that is here.

01:57.710 --> 01:59.990
That is the login page okay.

02:02.030 --> 02:05.030
And you see only one page here.

02:05.630 --> 02:12.030
Let me come to phpMyAdmin or to this thing or forget that.

02:12.390 --> 02:14.030
Let's give this one.

02:20.790 --> 02:23.270
This one okay I'm going to save it.

02:23.270 --> 02:25.750
And let's run this again.

02:26.190 --> 02:26.830
Let's see.

02:27.910 --> 02:36.590
See, we have this kind of links inside this that we can use them in a lot of places completely unique.

02:36.790 --> 02:41.230
So thanks for watching and I will see you in the next section.
