From 5c74862ec1dd8fdb385c70fe2ef6fe9b33a7bc4e Mon Sep 17 00:00:00 2001 From: gutmet Date: Thu, 25 Nov 2021 21:04:48 +0100 Subject: [PATCH] update youtube-rss to use JSON field 'id' to work with yt-dlp --- youtube-rss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/youtube-rss b/youtube-rss index 5424a0f..a084d24 100755 --- a/youtube-rss +++ b/youtube-rss @@ -11,7 +11,7 @@ uploader=`echo "$playlistJSON" | jq -r '.uploader'` if [ "$uploader" = "null" ] || [ "$uploader" = "" ]; then uploader=`echo "$playlistJSON" | jq -r '.title'` fi -entries=`echo "$playlistJSON" | jq -r '.entries[] | .url + " " + .title'` +entries=`echo "$playlistJSON" | jq -r '.entries[] | .id + " " + .title'` if [ "$entries" = "null" ] || [ "$entries" = "" ]; then exit 1