Skip to content

Commit

Permalink
Create youtube.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ranchokartar123 authored Oct 2, 2022
1 parent 227f263 commit 541c827
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions youtube.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Author Cool Ravi

import pytube
from pytube import YouTube
import os
video_url = str(input("Enter youtube video url:"))
youtube = pytube.YouTube(video_url)
video = youtube.streams.first()
video.download('C:/Users/+'+os.getlogin()'+/Downloads')

0 comments on commit 541c827

Please sign in to comment.