You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Change Log
2
2
3
+
## 6.8.0
4
+
5
+
- Updating how `onlyGetOpenGraphInfo` works. By default it is `false` but now it accepts an array of properties for which no fallback should be used.
6
+
- Updating how you get types `import { SuccessResult } from 'open-graph-scraper/types';`. See readme for details.
7
+
- Updating dependencies
8
+
3
9
## 6.7.2
4
10
5
11
- Adding `types` to the npm export. You can now use `import { SuccessResult } from 'open-graph-scraper/types/lib/types';`
@@ -100,7 +106,7 @@
100
106
- Modified the `url` property in `OpenGraphScraperOptions` to be an optional property since you don't need this when using just `html`
101
107
-`Type` can optional in `ImageObject` since type is not set it it's invalid
102
108
- Take all of the `customMetaTags` out of base of `ogObject` and store them into `ogObject.customMetaTags`
103
-
- The interal meta properties can be string arrays
109
+
- The internal meta properties can be string arrays
104
110
- Updating Dependencies
105
111
106
112
## 6.1.0
@@ -119,7 +125,7 @@
119
125
- Replace `GOT` with [fetch](https://nodejs.org/docs/latest-v18.x/api/globals.html#fetch)!
120
126
- Only supporting `node18` or higher going forward
121
127
- Updated how options work. `Fetch` and `OGS` options no longer being mixed together, users can now set [fetch options](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) using `options.fetchOptions`
122
-
- Remove any ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs resultes that have no url
128
+
- Remove any ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs results that have no url
123
129
- The `downloadLimit` option has been removed in favor of just using timeouts.
124
130
- Limit ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs to 10 items
Copy file name to clipboardExpand all lines: README.md
+26-1Lines changed: 26 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -67,6 +67,31 @@ Check the return for a ```success``` flag. If success is set to true, then the u
67
67
68
68
Note: `open-graph-scraper` uses the [Fetch API](https://nodejs.org/dist/latest-v18.x/docs/api/globals.html#fetch) for requests and most of [Fetch's options](https://developer.mozilla.org/en-US/docs/Web/API/fetch#options) should work as `open-graph-scraper`'s `fetchOptions` options.
0 commit comments