youtube-rss: revert last change

This commit is contained in:
gutmet 2020-11-09 21:05:01 +01:00
parent 5d5b66a1cd
commit 4723ffe5a7

View File

@ -9,11 +9,7 @@ playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noIt
uploader=`echo "$playlistJSON" | jq -r '.uploader'` uploader=`echo "$playlistJSON" | jq -r '.uploader'`
if [ "$uploader" = "null" ]; then if [ "$uploader" = "null" ]; then
playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"` exit 1
uploader=`echo "$playlistJSON" | jq -r '.uploader'`
if [ "$uploader" = "null" ]; then
exit 1
fi
fi fi