Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pafy
- print("Nhập link cần download")
- url = input()
- video = pafy.new(url)
- best = video.getbest() #get best resolution regardless of file format
- best.resolution, best.extension
- filename = best.download(quiet=false) #download video and show progress
- print ('done')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement