contrib/mrss.sh: add TED talks to articles classified as video

This commit is contained in:
dogeystamp 2023-06-15 11:57:56 -04:00
parent 319554761e
commit 72b169826c
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -112,7 +112,7 @@ list_read() {
LINK="$(sub_link "$art")"
ENCLOSURE_TYPE="$(cat "$art" | jq -r '.enclosure.type // ""')"
if [ ! -z "$(printf "%s" "$LINK" | grep 'youtube.com\|odycdn\|twitch')" ] \
if [ ! -z "$(printf "%s" "$LINK" | grep 'youtube.com\|odycdn\|twitch\|www.ted.com')" ] \
|| [ "$ENCLOSURE_TYPE" = "audio/mpeg" ]
then
VID="$VID$LINK "