update youtube-rss to use JSON field 'id' to work with yt-dlp
This commit is contained in:
parent
0af85267e2
commit
5c74862ec1
|
@ -11,7 +11,7 @@ uploader=`echo "$playlistJSON" | jq -r '.uploader'`
|
||||||
if [ "$uploader" = "null" ] || [ "$uploader" = "" ]; then
|
if [ "$uploader" = "null" ] || [ "$uploader" = "" ]; then
|
||||||
uploader=`echo "$playlistJSON" | jq -r '.title'`
|
uploader=`echo "$playlistJSON" | jq -r '.title'`
|
||||||
fi
|
fi
|
||||||
entries=`echo "$playlistJSON" | jq -r '.entries[] | .url + " " + .title'`
|
entries=`echo "$playlistJSON" | jq -r '.entries[] | .id + " " + .title'`
|
||||||
|
|
||||||
if [ "$entries" = "null" ] || [ "$entries" = "" ]; then
|
if [ "$entries" = "null" ] || [ "$entries" = "" ]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user