UNPKG

open-graph-scraper

Version:

Node.js scraper module for Open Graph and Twitter Card info

123 lines (76 loc) 2.64 kB
# Change Log ## 4.3.1 - Small code clean up and adding tests - Updating Dependencies ## 4.3.0 - Adding support for request headers ## 4.2.1 - Make sure item.fieldName exists before trying to use it - Updating devDependencies - Updating eslint rule set to be more simple - Fixed the badge icon in the readme ## 4.2.0 - Checking for new tags like article, book, profile, business and restaurant - Adding support for Dublin Core tags! - Updating image fallback to send back width/height/type - Adding more title/description/locale/audio/other fallbacks - Fixed bug where if there was a weird casing on a meta, ogs would skip it - Will no longer return undefined values in some cases - Updating dependencies and removed lodash ## 4.1.1 - Updating to use github actions for CI! ## 4.1.0 - Updating to use `validators.js`'s `isURL` to check user input URLs - Moving snyk to be under devDependencies ## 4.0.0 (has breaking changes!) - Dropping support for any node version under 10 - Open Graph values are no longer nested in a data object. - Stop using request.js(deprecated) and start using got.js - Using promises will now send the error/result/response back in one object. - Options.gzip is now options.decompress - Options.followAllRedirects is now options.followRedirect - Drop support for options.jar - Options.timeout must be a number value - Updating error messesing - Updating dependencies ## 3.6.2 - Updating lodash. ## 3.6.1 - Updating dependencies to vulnerabilities. ## 3.6.0 - Replaced jschardet with charde. ## 3.5.1 - Updating dependencies. ## 3.5.0 - Adding Open Graph music tags! ## 3.4.0 - Adding a new option for the 'jar' setting for requests. It will now be turned off by default. ## 3.3.0 - Code refactor to work in a es5 environment! ## 3.2.0 - Website that don't have Open Graph images will now return an array of all of the images on the site ## 3.1.5 - Updating lodash to fix vulnerable ## 3.1.4 - Returns more info on the error occurred when using promises ## 3.1.3 - Catch iconv exception to prevent unexpected charset ## 3.1.2 - Checking for Open Graph price and availability info ## 3.1.1 - Updating packages ## 3.1.0 - Adding ability to extract meta from HTML string ## 3.0.2 - Adding CHANGELOG.md ## 3.0.1 - Fixing coverage reporter - Fixing tests ## 3.0.0 - Updated dependencies to their latest version(s) - Officially now support Node.js v4 and up - Adds unit tests to ensure code quality - Adds options for encoding, blacklist, followAllRedirects, and maxRedirects - Module can now be used a promise - `err` is now `error` - Adds check for Open Graph product info