pafy library python code example
Example: how to use pafy
import pafy
url = 'your url here'
video = pafy.new(url)
audio = video.getbestaudio()
audio.download()
import pafy
url = 'your url here'
video = pafy.new(url)
audio = video.getbestaudio()
audio.download()