youtube-rss: revert last change
This commit is contained in:
parent
5d5b66a1cd
commit
4723ffe5a7
|
@ -8,13 +8,9 @@ set -e
|
||||||
playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"`
|
playlistJSON=`youtube-dl "$playlistURL" --flat-playlist -J --playlist-end "$noItems"`
|
||||||
uploader=`echo "$playlistJSON" | jq -r '.uploader'`
|
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
|
if [ "$uploader" = "null" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
|
|
||||||
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user