Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.

Commit c1f86a4

Browse files
Create Video Resolutions.py
1 parent 79294db commit c1f86a4

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Youtube/Video Resolutions.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Get video resolutions from Youtube
2+
from pytube import YouTube
3+
vid_url = "https://youtu.be/klZNvJArVSE"
4+
vid_obj = YouTube(vid_url)
5+
stream = vid_obj.streams.get_highest_resolution()
6+
vid_obj.streams.all()
7+
8+

0 commit comments

Comments
 (0)