Skip to content

marcosschroh/youtube-audio-downloader

Repository files navigation

SIMPLE YOUTUBE AUDIO DOWNLOADER

Build Status codecov GitHub license

Based on PAFY

Features

  • Download multiple songs from youtube.
  • Works with Python 2.6+ and Python 3.3+.

Installation

pip install youtube-audio-downloader

Comands line usage

sound-down --conf example_conf.yml
sound-down --conf example_conf.yml --destiny /home/my_user/music/

File Conf Example

conf example

Configuration:

Options Description Type Default
youtube-links Youtube Links array []
audio-formats-priority Priority of audio formats * array ['m4a', 'mp4', 'mp3', 'webm', 'ogg', 'wma']
show-download-progress Show the % of downloading per link bool true
overrride-audios Whether override audios that already exist in the Save Folder * bool false
  • Audio Priority: Always try to get the best audio based on format and quality. With the default conf will try to get the best audio for m4a format, if does not exist will try to get the best for mp4 and so on.

  • Override: If you want to download a sound and it already exists in the folder that you have specified to place it, the audio will be override or not according to the value of overrride-audios.

TODO

  1. Show audio name or link in downloading process.
  2. Maybe rethink using asyncio?
  3. Maybe add a UI?

Troubleshooting

  • In Mac OSX if you have ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed Just browse to Applications/Python 3.6 and double-click Install Certificates.command There is an issue in the Python bug tracker about this issue 29480

About

Simple Python script to download audios from youtube

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages