youtube-rss: exit on error
This commit is contained in:
parent
f8fe778dc5
commit
cbf2a24250
|
@ -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'`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user