aboutsummaryrefslogtreecommitdiffhomepage
path: root/http
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2017-12-27 19:44:23 -0800
committerGravatar Frédéric Guillot <fred@miniflux.net>2017-12-27 19:44:23 -0800
commitc454f6703752f4effcb5caa2a77218b2e1a0fc5c (patch)
tree574551cb5b2b387b6a7086bba348bdb34ae508c0 /http
parentd4839b559795fbaaf664f765ad92402688cfaaea (diff)
Add scraper rules for version2.dk and ing.dk
Diffstat (limited to 'http')
-rw-r--r--http/client.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/client.go b/http/client.go
index af9f06c..df1cbab 100644
--- a/http/client.go
+++ b/http/client.go
@@ -129,7 +129,7 @@ func (c *Client) buildClient() http.Client {
func (c *Client) buildHeaders() http.Header {
headers := make(http.Header)
headers.Add("User-Agent", userAgent)
- headers.Add("Accept", "text/html,application/xhtml+xml,application/xml,application/json,image/*")
+ headers.Add("Accept", "*/*")
if c.etagHeader != "" {
headers.Add("If-None-Match", c.etagHeader)