From 4723ffe5a765b94cb3c9dcc6fb8bed39c2282511 Mon Sep 17 00:00:00 2001 From: gutmet Date: Mon, 9 Nov 2020 21:05:01 +0100 Subject: [PATCH] youtube-rss: revert last change --- youtube-rss | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/youtube-rss b/youtube-rss index 6bb11e9..afdd0f3 100755 --- a/youtube-rss +++ b/youtube-rss @@ -9,11 +9,7 @@ playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noIt uploader=`echo "$playlistJSON" | jq -r '.uploader'` if [ "$uploader" = "null" ]; then - playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"` - uploader=`echo "$playlistJSON" | jq -r '.uploader'` - if [ "$uploader" = "null" ]; then - exit 1 - fi + exit 1 fi