commit 84831ac69e9a20800a50a902aa5e7000168f3d45
parent d9e82ec925405b65c6c1b1a166b4215afa31add8
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Fri, 14 Aug 2015 16:59:27 +0200
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.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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