Commit 54ab21ea authored by yPhil's avatar yPhil

Bugfix: Sent headers

parent a7ca6393
......@@ -41,7 +41,8 @@ function getFeed (urlfeed, callback) {
url: urlfeed,
headers: {
// 'User-Agent': 'Mozilla/5.0',
'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'
'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/31.0.1650.63 Safari/537.36',
'Accept': 'text/html,application/xhtml+xml'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment