Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # https://pastebin.com/u/TTpocToXaKep
- from pytube import YouTube
- # creating object for download
- yt = YouTube('https://www.youtube.com/watch?v=Video_ID')
- # choose thread
- stream = yt.streams.first()
- # downloading
- stream.download()
- # it simplecode how to work with pytube, use it in ur deals
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement