open-graph-scraper
Version:
Node.js scraper module for Open Graph and Twitter Card info
90 lines (53 loc) • 1.75 kB
Markdown
# Change Log
## 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