Results 1 to 2 of 2

Thread: Download and rename youtube playlist

  1. #1
    Join Date
    May 2012
    Beans
    357

    Download and rename youtube playlist

    Hello everybody

    I am using frequently 2 youtube commands line:

    Download a playlist:
    Code:
    youtube-dl -f 35 http://www.youtube.com/playlist?list=PLAYLIST_CODE
    Download a video and renaming:
    Code:
    youtube-dl -o INPUT.flv -f 35 http://www.youtube.com/watch?v=VIDEO_CODE

    So how can I download a playlist and renaming on the same time like below??

    Code:
    video1.mp4 video2.mp4 video3.mp4 video4.mp4
    I tried this command line:
    Code:
    for i in {001..003}; do youtube-dl -o video_$i.mp4 -f 18 http://www.youtube.com/playlist?list=PLfdtiltiRHWEjLi_X8RV7GBsCAHef45eJ ; done
    It is downloading the same video 3 times.

    Thx in advance

  2. #2
    Join Date
    Jul 2007
    Location
    Magic City of the Plains
    Beans
    Hidden!
    Distro
    Xubuntu 16.04 Xenial Xerus

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •