laurengarcia / url-metadata

NPM module: Request a url and scrape the metadata from its HTML using Node.js or the browser.
https://www.npmjs.com/package/url-metadata
MIT License
166 stars 44 forks source link

ensureSecureImageRequest cannot be set to false #16

Closed kryp71c closed 4 years ago

kryp71c commented 5 years ago

Hi guys,

This line in index.js will evaluate to true when 'options.ensureSecureImageRequest' is set to false:

ensureSecureImageRequest: options.ensureSecureImageRequest || true

laurengarcia commented 5 years ago

Whoops -- you are correct. Will fix.

sidshrivastav commented 4 years ago

Hi, I fixed the issue. Please find the PR for changes.

laurengarcia commented 4 years ago

Fixed.