Answers for "pafy"

1

how to use pafy

import pafy

url = 'your url here'
video = pafy.new(url)
audio = video.getbestaudio()
audio.download()
Posted by: Guest on June-29-2020
0

pafy doc

import pafy
v = pafy.new("dQw4w9WgXcQ")
print(v.title)
print(v.duration)
print(v.rating)
print(v.author)
print(v.length)
print(v.keywords)
print(v.thumb)
print(v.videoid)
print(v.viewcount)
Posted by: Guest on October-14-2020

Browse Popular Code Answers by Language