diff --git a/Youtube/Video Resolutions.py b/Youtube/Video Resolutions.py new file mode 100644 index 00000000..fac4808b --- /dev/null +++ b/Youtube/Video Resolutions.py @@ -0,0 +1,8 @@ +# Get video resolutions from Youtube +from pytube import YouTube +vid_url = "https://youtu.be/klZNvJArVSE" +vid_obj = YouTube(vid_url) +stream = vid_obj.streams.get_highest_resolution() +vid_obj.streams.all() + +