oembetter
Advanced tools
Comparing version 0.1.9 to 0.1.10
@@ -97,3 +97,7 @@ var request = require('request'); | ||
} | ||
return request(oUrl, function(err, response, body) { | ||
return request(oUrl, { | ||
headers: { | ||
'User-Agent': 'oembetter' | ||
} | ||
}, function(err, response, body) { | ||
if (err) { | ||
@@ -100,0 +104,0 @@ return callback(err); |
{ | ||
"name": "oembetter", | ||
"version": "0.1.9", | ||
"version": "0.1.10", | ||
"description": "A modern oembed client. Allows you to register filters to improve or supply oembed support for sites that don't normally have it. You can also supply a whitelist of services you trust to prevent XSS attacks.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -187,2 +187,4 @@ # oembetter | ||
0.1.10: user agent string to please Facebook. Thanks to `equinox7`. | ||
0.1.9: the new `endpoints` option allows you to configure custom oembed API endpoints for services that don't advertise an endpoint or advertise it incorrectly. | ||
@@ -189,0 +191,0 @@ |
29999
497
206