Updated how options work. Fetch and OGS options no longer being mixed together, users can now set fetch options using options.fetchOptions
Remove any ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs resultes that have no url
The downloadLimit option has been removed in favor of just using timeouts.
Limit ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs to 10 items
Adding html to the SuccessResult of OGS
Adding options.timeout to set the fetch request timeout. (default is 10 seconds)
Remove null values from ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs
Removing options.allMedia, you can just grab the first value of the array for the pervious behavior
ogImages/ogVideos/twitterImages/twitterPlayers/musicSongs will always be an array now, you can just grab the first value of the array for the pervious behavior
Removing options.ogImageFallback, you can set options.onlyGetOpenGraphInfo to true for the pervious behavior
GOT
with fetch!node18
or higher going forwardFetch
andOGS
options no longer being mixed together, users can now set fetch options usingoptions.fetchOptions
downloadLimit
option has been removed in favor of just using timeouts.SuccessResult
ofOGS
options.timeout
to set the fetch request timeout. (default is 10 seconds)null
values from ogImages/ogVideos/twitterImages/twitterPlayers/musicSongsoptions.allMedia
, you can just grab the first value of the array for the pervious behavioroptions.ogImageFallback
, you can setoptions.onlyGetOpenGraphInfo
totrue
for the pervious behavior