WEBVTT 00:00.570 --> 00:01.690 Let us get started. 00:02.040 --> 00:06.500 So I created a new folder in my next Drop card Video Downloader and head. 00:06.500 --> 00:12.380 I'm going to create a new file call lighted out by inside that I'm going to on my will. 00:12.390 --> 00:16.340 So first let us install our buy you back age in our system. 00:16.380 --> 00:20.510 All you have to do is install by you in your command from 00:24.650 --> 00:25.750 once that is done. 00:25.780 --> 00:27.580 We are good to go. 00:27.580 --> 00:31.870 Now the first thing that we need to do is to import our modular liability whatever we want. 00:32.200 --> 00:40.510 So I would be using my Buy do package and then importing my youtube module. 00:40.550 --> 00:43.310 Now we have to use our YouTube module and pass out. 00:43.310 --> 00:44.420 Are we dealing. 00:44.460 --> 00:50.210 So I would create a variable called Whitey and inside that I would be storing the return of my youtube 00:50.210 --> 00:52.230 module. 00:52.240 --> 00:54.610 Now we have come on over our feed you. 00:54.640 --> 00:58.360 So there are several different methods that we can perform or what I write. 00:58.660 --> 01:00.520 All you have to do is just write Dwight D. 01:01.990 --> 01:06.670 And then you realize all the different functions that are available for our Dwight D. 01:07.180 --> 01:12.580 So what I'm going to do is I'm just going to use a stream for a while and then talk about different 01:12.580 --> 01:20.440 categories about audio video and resolution and then be using my friend who showcased a particular reason. 01:21.540 --> 01:28.140 Remember currently I'm into my main folder before running I have to be inside my folder which my file 01:28.140 --> 01:28.790 is present. 01:30.600 --> 01:38.680 Let me run this one and how you can see the result you'll see that we have a stream then we have AI 01:38.710 --> 01:39.150 Dag. 01:39.160 --> 01:40.350 Then we have MIME type. 01:40.360 --> 01:45.860 Then we have resolution and lot more thing so you might not be clear with this picture. 01:45.910 --> 01:48.920 Let me show you from the documentation and description. 01:49.120 --> 01:54.280 So what we are currently doing is we are currently using our YouTube module and inside that there are 01:54.280 --> 01:55.730 several methods. 01:55.800 --> 01:59.640 It is stream and then showcasing all the result of stream. 01:59.710 --> 02:04.700 So remember each YouTube video has an AI tag and it has a mind type. 02:04.780 --> 02:09.910 And the next thing is resolution and then FBA is and all are different things. 02:10.450 --> 02:15.860 So I main thing will be either because they are unique and then we can select any video. 02:15.910 --> 02:22.440 So suppose if you have a YouTube video and you want and before June with the resolution of 720 b it's 02:22.450 --> 02:23.170 quite simple. 02:23.260 --> 02:29.510 We will be using AI Dag s twenty two or maybe you want and before was with the resolution of 40. 02:29.590 --> 02:34.690 We can use a dag as 135 for now we have different streams. 02:34.690 --> 02:40.910 That means we have different versions of us in beautiful according to quantity and according to audio. 02:41.210 --> 02:42.180 When we come back hit. 02:42.530 --> 02:44.240 So currently we are doing all. 02:44.570 --> 02:46.790 So I just need a specific get that. 02:46.790 --> 02:51.550 That means almost returning me all type of stream that were available. 02:51.620 --> 02:59.850 I want a stream of a specific identity so all I can do is use my get and this is a particular method 02:59.940 --> 03:04.330 and had I need to Boston I could say if you look there are different. 03:04.340 --> 03:05.870 I really was. 03:05.880 --> 03:10.770 So this was for 720 pixel and I was having an identical 22. 03:10.910 --> 03:15.570 There will be different codes and you just need to see according to the setting that you want. 03:16.140 --> 03:17.050 Let me go with I. 03:17.050 --> 03:18.270 Dec. 22 only 03:21.740 --> 03:25.320 if you have any caution in mind that how I get to know about this matter. 03:25.680 --> 03:28.860 I just read a few lines of documentation and it was quite helpful. 03:29.310 --> 03:32.910 So now we are specifically targeting this 22 I doubt. 03:33.150 --> 03:34.460 Let me try to pin this one. 03:37.850 --> 03:43.480 So how does the confirmation that I'm selecting currently resolution 720 things looks fine. 03:43.490 --> 03:46.750 Let me remove my opening statement. 03:47.030 --> 03:52.860 Now I need to actually store this result into a variable since I am currently selecting my stream. 03:52.880 --> 03:59.980 Let me use D.W. as my variable name and to download all we have to do is use our video on BW then added 04:00.020 --> 04:02.710 art and you will get a lot of options. 04:02.840 --> 04:09.080 I just need to use my download method and inside that I need to pass my art where I need to save this 04:09.080 --> 04:15.050 video so I will be using it way ahead if you see there is no video guarantee here. 04:16.070 --> 04:18.600 Let me save this one and then my come on. 04:25.000 --> 04:27.500 And let me open my folder. 04:27.500 --> 04:30.130 Hey you can see now I have this video. 04:30.480 --> 04:33.000 Now this was the same video for which I have added link. 04:33.000 --> 04:35.040 I can also try out a second video. 04:35.070 --> 04:43.640 Just copy the link and go to my ATM at the studio head open make a until I run this file again. 04:48.560 --> 04:49.230 It's done. 04:49.250 --> 04:51.020 Let me open my E drive. 04:52.380 --> 04:52.730 You can. 04:52.770 --> 04:53.370 Yeah I know. 04:53.390 --> 04:54.880 Also have my second video. 04:55.390 --> 05:02.470 We can simplify and improve this method by adding try catch by adding input instruction to boss link 05:02.470 --> 05:07.060 off a video so we can just take input from the user and pass the link head. 05:07.090 --> 05:11.050 You can also add a brain statement once W2 is downloaded. 05:11.080 --> 05:13.720 We can print that the download is completed. 05:13.720 --> 05:15.830 Currently we are not doing that. 05:15.850 --> 05:18.560 We can also ask many you order together. 05:18.610 --> 05:23.920 You can play a lot more thing but this was some basic come on and I hope you understand about that in 05:23.920 --> 05:24.600 the next lecture. 05:24.610 --> 05:29.440 Let us play a lot more of this so we get a basic practice of what we have learned a lot. 05:30.340 --> 05:31.900 I hope this lecture was helpful. 05:31.900 --> 05:33.100 See you in the next one.