diff options
Diffstat (limited to 'syndicate.sh')
| -rwxr-xr-x | syndicate.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/syndicate.sh b/syndicate.sh index 80d1be0..4c7705a 100755 --- a/syndicate.sh +++ b/syndicate.sh @@ -84,7 +84,7 @@ function syndicate_podcast { name=$(xq --extract "/rss/channel/item/itunes:title" "${local_rss}") url="https://www.private-eye.co.uk/podcast/${most_recently_published_issue}" image=$(xq --extract "/rss/channel/item/itunes:image/@href" "${local_rss}") - audio=$(xq --extract "/rss/channel/item/enclosure/@url" "${local_rss}" | cut -d '?' -f 1) + audio=$(xq --extract "/rss/channel/item/enclosure/@url" "${local_rss}" | sed 's|dts.podtrac.com/redirect.mp3/||' | cut -d '?' -f 1) rm -f "${local_rss}" |
