I am using Ubuntu 14.04 and youtube-dl to download videos. How can I download videos in respective directory?
e.g. Playlist name is: MyPlaylist, that contains several videos
how can I download videos in directory like: MyPlaylist/index_title.ext
Have you checked the documentation? Specifically the -o, --output
option. Using that, you should be able to do:
youtube-dl -o '/home/me/%(playlist_title)s/%(playlist_index)s_%(title)s.%(ext)s'
That said, please be sure to respect the owner's rights with any videos you use this program for.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments