From 84831ac69e9a20800a50a902aa5e7000168f3d45 Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Fri, 14 Aug 2015 16:59:27 +0200 Subject: sfeed_update: don't redirect, use only the feed url specified. It could mess up urls in items (redirect http to https). It is also safer. --- sfeed_update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sfeed_update') diff --git a/sfeed_update b/sfeed_update index 56be43a..c2c91bc 100755 --- a/sfeed_update +++ b/sfeed_update @@ -41,7 +41,7 @@ merge() { # fetch a feed via HTTP/HTTPS etc. # fetchfeed(url, name, feedfile) fetchfeed() { - if curl -f -s -S -L --max-time 15 -z "$3" "$1"; then + if curl -f -s -S --max-time 15 -z "$3" "$1"; then printf " OK %s %s\n" "`date +'%H:%M:%S'`" "$2" >&2 else printf "FAIL %s %s\n" "`date +'%H:%M:%S'`" "$2" >&2 -- cgit v1.2.3