tscrape_update: disable If-Modified-Since by default - tscrape - twitter scraper
(HTM) git clone git://git.codemadness.org/tscrape
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fb64d1d7eb24caab8ca7fb574ffad5886ff8f05f
(DIR) parent 0adbb9ec4d4f8e92643b1dfc737c1780a1c4c7a3
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Sun, 12 May 2019 18:58:37 +0200
tscrape_update: disable If-Modified-Since by default
Diffstat:
M tscrape_update | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/tscrape_update b/tscrape_update
@@ -53,7 +53,7 @@ order() {
# fetchfeed(name, url, feedfile)
fetchfeed() {
if curl --http1.0 -L --max-redirs 0 -H "User-Agent:" -f -s -m 15 \
- -z "$3" "$2" 2>/dev/null; then
+ "$2" 2>/dev/null; then
printf " OK %s %s\n" "$(date +'%H:%M:%S')" "$1" >&2
else
printf "FAIL %s %s\n" "$(date +'%H:%M:%S')" "$1" >&2