Skip to content
This repository was archived by the owner on May 25, 2022. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Youtube/Video Resolutions.py
Original file line numberDiff line numberDiff line change
@@ -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()