Skip to content

Sync YouTube video and playlists to local mp3 files.

License

Notifications You must be signed in to change notification settings

yveoch/youtube_mp3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YouTube MP3

This small script aims to synchronize YouTube videos and playlists with local mp3 files.

These audio tracks can then be transefered elsewhere, for example to a smartphone using BitTorrent's Sync.

It is intended to be run periodically (eg with cron).

Installation

> pip3 install git+https://github.com/dryvenn/youtube_mp3

Usage

> youtube_mp3 -d TARGET_DIRECTORY

Configuration

As the script doesn't support any authentication, make sure all playlists are either 'Public' or 'Unlisted'.

The script will look for a configuration file named .youtube_mp3.list under TARGET_DIRECTORY (which is the working directory when not specified).

This file must contain one YouTube video or playlist URL per line (blank lines and comments preceded by "# " are allowed).

TARGET_DIRECTORY will get populated with the files (for single videos) and directories (for playlists).

About

Sync YouTube video and playlists to local mp3 files.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages