We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df83537 commit d6e190cCopy full SHA for d6e190c
dist/rss-parser.js
@@ -186,6 +186,7 @@ Parser.parseURL = function(feedUrl, callback) {
186
var get = feedUrl.indexOf('https') === 0 ? HTTPS.get : HTTP.get;
187
var parsedUrl = url.parse(feedUrl);
188
var req = get({
189
+ protocol: parsedUrl.protocol,
190
hostname: parsedUrl.hostname,
191
path: parsedUrl.path,
192
headers: {'User-Agent': 'rss-parser'}
index.js
@@ -183,6 +183,7 @@ Parser.parseURL = function(feedUrl, callback) {
183
184
185
0 commit comments