ytdl-core
Advanced tools
Comparing version 4.3.0 to 4.3.1
@@ -473,5 +473,5 @@ const urllib = require('url'); | ||
const func = exports[funcName]; | ||
exports[funcName] = (link, options = {}) => { | ||
exports[funcName] = async(link, options = {}) => { | ||
utils.checkForUpdates(); | ||
let id = urlUtils.getVideoID(link); | ||
let id = await urlUtils.getVideoID(link); | ||
const key = [funcName, id, options.lang].join('-'); | ||
@@ -478,0 +478,0 @@ return exports.cache.getOrSet(key, () => func(id, options)); |
@@ -9,3 +9,3 @@ { | ||
], | ||
"version": "4.3.0", | ||
"version": "4.3.1", | ||
"repository": { | ||
@@ -12,0 +12,0 @@ "type": "git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88114