Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
13
rated 0 times [  13] [ 0]  / answers: 1 / hits: 6690  / 2 Years ago, tue, april 26, 2022, 8:55:45

Let's suppose you want to make a long list of Urls but separated with a comment which



indicates what the Urls are about. Is there a way to do it?


More From » youtube-dl

 Answers
7

youtube -dl supports only one url at each line in a url listed batch file. It will not read a url/line if it begins with a # or part of line after #. In that case your batch file should look like,



#comment 1
https://www.youtube.com/watch?v=foo
#commeent 2
https://www.youtube.com/watch?v=bar


You can comment like this also,



https://www.youtube.com/watch?v=foo #comment 1
https://www.youtube.com/watch?v=bar #comment 2


To download with such a batch file, use



youtube-dl --title --batch-file='/path/to/list.txt'


I assume list.txt contains the urls.


[#27276] Wednesday, April 27, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tudatchful

Total Points: 270
Total Questions: 109
Total Answers: 122

Location: Palau
Member since Tue, May 30, 2023
1 Year ago
;