Merge pull request #2837 from omnivore-app/fix/rss-406
fix 406 not acceptable error from subscribing an rss feed
This commit is contained in:
@ -127,6 +127,8 @@ const parser = new Parser({
|
||||
// some rss feeds require user agent
|
||||
'User-Agent':
|
||||
'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36',
|
||||
Accept:
|
||||
'application/rss+xml, application/rdf+xml;q=0.8, application/atom+xml;q=0.6, application/xml;q=0.4, text/xml;q=0.4',
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user