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.
Playlist author output template variable #15018
Comments
|
Duplicate of #11427. |
Before submitting an issue make sure you have:
What is the purpose of your issue?
Description of your issue, suggested solution and other information
I'm trying to download playlists from Youtube and want to have them organized by the account that created the playlist. AFAICT,
youtube-dlonly gives the video author for output templates, which works as long as the playlist only includes videos from the same author.Here is what I'm currently using:
"%(uploader)s/%(playlist)s/%(playlist_index)s %(title)s.%(ext)s"Let's say we have author1 with video1, video2, and playlist1, and author2 with video 3. playlist1 includes video1, video2, and video3. With the above template I end up with the following file structure when downloading playlist1:
What I want is:
Which means I currently have to manually merge the author directories after downloading.
My request is to add an output template variable that corresponds to the author of the playlist (for example
playlist_uploader).