1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-07-22 17:18:37 +00:00

Add scraper rules for version2.dk and ing.dk

This commit is contained in:
Frédéric Guillot 2017-12-27 19:44:23 -08:00
parent d4839b5597
commit c454f67037
2 changed files with 3 additions and 1 deletions

View file

@ -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)