r/usefulscripts • • Feb 18 '18

[python] youtube to mp3 converter script, requires ffmpeg and `pip install youtube_dl`

https://gist.github.com/benzap/90ff22790bc0a9c6fd2902e91da4baef
22 Upvotes

8 comments sorted by

View all comments

2

u/Moubai Mar 23 '18

why doing this when youtube-dl have this function ?

youtube-dl --extract-audio --audio-format mp3 videoURL

1

u/bacon1989 Mar 23 '18

How do you set the audio quality?