diff --git a/youtube-rss b/youtube-rss index aa76540..71b290a 100755 --- a/youtube-rss +++ b/youtube-rss @@ -3,6 +3,8 @@ playlistURL="$1" noItems="$2" +set -e + playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"` uploader=`echo "$playlistJSON" | jq -r '.uploader'`