Hi and welcome back.
In the previous video, we tried to access top four movie for that director and now we will try to merge
all the three sections that we created in the last three videos.
So here, let's just get a quick recap that this chunk was responsible for taking the movie name from
the user, then hitting on the Internet, checking the movie list.
If our movie name is present in the list and then providing us with the jewel of that movie.
The next step was that we opened that movie.
We opened that, we hit on that movie, and then we extracted the text from there.
And then we extracted the director name and the director Eurail from there.
Then this section was responsible for hitting on their Director Rural's page and extracting the first
top four movies.
Now, let's just try to think all this together.
So this will come on the top.
So here it is, the movie name, and then we are hitting on it and doing all that comparison and same
stuff.
Now if we get the movie, we will just simply break through it here after getting the movie name instead
of just printing it.
What we have to do is.
We just put this stuff there.
Let's just uncommented this.
So now this thing is now responsible for hitting on that movie well, and then providing the director
and director fuel.
So now the movie world should be replaced here.
Yeah, I guess we need this thing, so let's just remove this and come here and let's just print a message
that Director Name.
And then the director url for the director, you we will pass this directly well, in order
to chunk and wait for getting the top four recommendations.
Here, if we paste this one and this director url pass this directly to Director url here.
Now, if we give it a go, hopefully we will be getting the movie themselves.
So now if we just hit it again.
And now for the movie, let's just come back here and copy the movie name.
Yeah, perfect.
So now if we hit enter, hopefully it will first take us to this director's name, which we are printing
here, and then hitting on the director.
We are expecting the top four movies.
From this.
So now if we run this.
So we get that direct on him now.
Again, it is hitting on the next directors, you, HelpAge, for extracting this thing and then after
going to that page, it extracted the movie recommendations and listed there.
So we kind of build a small recommendation system and in which the user is entering the movie name.
And then we are recommending the same movies from that directors, from the other movies of their directors
as well.
So in this video, we try to think all the three chunks that we created in the previous videos and we
just merge them together and make them work together.
So previously what we was doing is we were just simply creating those small chunk of code responsible
for doing a single thing.
Then after successfully doing all that stuff, we just sink them together and then we are getting the
exact output.
So see you in the next video.