diff --git a/youtube-rss b/youtube-rss index 71b290a..afdd0f3 100755 --- a/youtube-rss +++ b/youtube-rss @@ -8,6 +8,11 @@ set -e playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"` uploader=`echo "$playlistJSON" | jq -r '.uploader'` +if [ "$uploader" = "null" ]; then + exit 1 +fi + + echo "