from pytube import YouTube yt = YouTube('https://www.youtube.com/watch?v=y86pOvtHJUE') yt.streams.filter(only_audio=True).first().download()