commit 406b12fb7a4d1340a5a1090307750effcab9d612
parent 28a910bd20cad299ad28288b184d07d790a2c64c
Author: lostd <lostd@2f30.org>
Date: Sat, 11 Jan 2014 14:05:06 +0200
Do not stop on errors
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ytfetch b/ytfetch
@@ -17,7 +17,7 @@ for URL in "$@"; do
echo "see $URL"
# each --get comes on a line by its own in a predefined order
# command line order does not matter
- LIST=$(youtube-dl --restrict-filenames \
+ LIST=$(youtube-dl --restrict-filenames --ignore-errors \
--get-url --get-filename --get-title \
-o "%(title)s.%(ext)s" "$URL")
I=0 # keep state