![]() ![]() ![]() If the multiple files are all on the same user, channel or playlist webpage in YouTube, you can generate a text file with a list that has all the links on that page by running the following command: youtube-dl -j -flat-playlist " | jq -r '.id' | sed 's_^_' > batch-file.txtįrom the terminal run: youtube-dl -ct -simulate -batch-file='/path/to/batch-file.txt' Save the batch file with a name that is easy to remember like batch-file.txt. The URLs should be arranged in a list having only one URL and nothing else on each line, with a new line for each URL in the list. After that I could download all the videos with a single command by following these instructions.Ĭreate a batch file which is a text file containing a list of URLs of videos from YouTube that you want to download. I made a batch file with a list of the URLs of all the videos in it (only the videos, not the other links), each video URL on a new line. The results of these commands were a list of all the links on that webpage. Youtube-dl -j -flat-playlist " | jq -r '.id' | sed 's_^_' > batch-file.txt Rather than update youtube-dl which is working fine the way it is, I went to your playlist webpage, copied the URL and ran the following commands from the terminal: sudo apt install jq # command-line JSON processor I tried downloading the playlist in your question, and I got the same error message you did. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |