issues
search
jshemas
/
openGraphScraper
Node.js scraper service for Open Graph Info and More!
MIT License
643
stars
102
forks
source link
Updating openGraphScraper to got version 12 and more!!!
#143
Closed
jshemas
closed
1 year ago
jshemas
commented
2 years ago
Updating to
got
version 12!
Adding typescript support.
The
retry
option is now a object ->
https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md#retry
The
timeout
option is now a object ->
https://github.com/sindresorhus/got/blob/main/documentation/6-timeout.md#timeout-options
Dropping callback support. If you still want to use callbacks, you can use
callbackify
->
https://nodejs.org/api/util.html#util_util_callbackify_original
Auth errors will now be passed back to the clint and will no long just be
Page not found
errors.
Dropping support for node12 since
got
no longer supports it.
Removing
options.encoding
.
Updating Dependencies
got
version 12!retry
option is now a object -> https://github.com/sindresorhus/got/blob/main/documentation/7-retry.md#retrytimeout
option is now a object -> https://github.com/sindresorhus/got/blob/main/documentation/6-timeout.md#timeout-optionscallbackify
-> https://nodejs.org/api/util.html#util_util_callbackify_originalPage not found
errors.got
no longer supports it.options.encoding
.