Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.03.22. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
I'm trying to download all videos from a YouTube channel and put them in a directory that matches playlist name.
youtube-dl ytuser:ChannelFooBarBaz -f best -o '%(playlist_title)s/%(playlist_index)s_%(upload_date)s_%(title)s'The problem with the above syntax is that all videos are being pulled to the same directory called
Uploads from ChannelFooBarBazinstead of playlist name's a particular video is assigned to.For example if channel has
Playlist FooandPlaylist Barit should create 2 directories and pull corresponding video there. Now everything lands inUploads from ChannelFooBarBaz.The issue is probably around
%(playlist_title)sbut according to the docs:it should be pretty straightforward.
Problem is solved only when I replace
ytuser:ChannelFooBarBazwith explicit URL to a single playlist. Then directory name is correct, but if a channel has 50 playlists, I don't want to manually do this 50 times.What am I doing wrong?