yt-dlp / yt-dlp

A feature-rich command-line audio/video downloader
https://discord.gg/H5MNcFW63r
The Unlicense
86.49k stars 6.74k forks source link

add directory sort in youtube #11417

Closed alphaleadership closed 1 hour ago

alphaleadership commented 2 hours ago

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

Checklist

Region

n/a

Example URLs

https://www.youtube.com/@SamEckholm

Provide a description that is worded well enough to be understood

y suggest when you dowload a youtube channel to create 2 dir video and short

Provide verbose output that clearly demonstrates the problem

Complete Verbose Output

n/a
bashonly commented 2 hours ago

you can do this by passing these options

--parse-metadata "playlist_title:.+ - (?P<folder_name>Videos|Shorts|Live)$" -o "./%(folder_name|)s/%(title)s [%(id)s].%(ext)s"
alphaleadership commented 2 hours ago

ok and y suppose y can extract channel to create channel folder

bashonly commented 2 hours ago
--parse-metadata "playlist_title:.+ - (?P<folder_name>Videos|Shorts|Live)$" -o "./%(channel|)s/%(folder_name|)s/%(title)s [%(id)s].%(ext)s"
alphaleadership commented 1 hour ago

thanks

alphaleadership commented 1 hour ago

ytdlp -vU https://www.youtube.com/channel/UCAOUTJyHMjLgLcu71xMEyAQ --parse-metadata "playlist_title:.+ - (?PVideos|Shorts|Live)$" -o "./%(channel|)s/%(folder_name|)s/%(title)s [%(id)s].%(ext)s" whatis the error with this command

alphaleadership commented 1 hour ago

is in cmd file

alphaleadership commented 1 hour ago

is patch