ytmusic_api_unofficial
Advanced tools
Comparing version 2.0.7 to 2.0.8
@@ -533,4 +533,7 @@ "use strict"; | ||
var _a, _b; | ||
if (!res.streamingData) | ||
if (!res.streamingData) { | ||
if (process.env.YT_DEBUG_MODE === "true") | ||
console.log('gP_dv', res); | ||
return reject((0, error_1.error)(2004, (0, responseBuilder_1.nav)(res, ['playabilityStatus', 'status'], true) || (0, responseBuilder_1.nav)(res, ['playabilityStatus', 'messages', 0, 'message'], true) || 'Unknown error')); | ||
} | ||
const items = { videos: [], audios: [] }; | ||
@@ -537,0 +540,0 @@ for (const item of res.streamingData.adaptiveFormats) { |
{ | ||
"name": "ytmusic_api_unofficial", | ||
"version": "2.0.7", | ||
"version": "2.0.8", | ||
"description": "A simple API to get music from YouTube Music", | ||
@@ -5,0 +5,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
184744
2495
8