A little Python script to convert your youtube videos and playlist into .flac
audio files, without any compression (contrary to .mp3
files)
- It is based on or earlier -> Download here
- It requires -> check the box
pip
when installingPython
- It also requires or earlier -> Download here
- Last but not least, or earlier -> write this command in Powershell/CMD :
pip install youtube-dl
Approximate size for a 3-4min music video : 50 MB (10x more than .mp3
)
When everything is ready to use, the script will automatically update pip
and youtube-dl
On windows, just double click on YouTube to flac.bat
to launch the script.
Otherwise, launch the ytb_flac.py
with python (python ytb_flac.py
)
First, you'll have to enter a youtube link to download, video or playlist, both work
Then, you'll have two type of choices :
- download your music into a saved directory
- download in a new directory, that will be saved for the next time
- If you selected a pre-saved directory, you can download in a new sub-directory (as for the band), or leave it blank
- If you selected to create a new directory, you'll have to create the location (use
/
and not\
!). After that, you'll have to do the step above.
After that, the download begins...
And... your music/playlist is downloaded !
It is a pretty light script, but every changes are welcome ! Don't hesitate :)