ytmusic_api_unofficial
Advanced tools
Comparing version 2.0.4 to 2.0.5
@@ -145,4 +145,3 @@ "use strict"; | ||
ranking += 50; | ||
else if (item.isAudioOnly) { | ||
ranking += 20; | ||
else { | ||
const topResult = data.find((x) => x.isTopResult); | ||
@@ -156,2 +155,4 @@ if (topResult) { | ||
} | ||
if (item.isAudioOnly) | ||
ranking += 20; | ||
item.searchRanking = ranking; | ||
@@ -158,0 +159,0 @@ } |
{ | ||
"name": "ytmusic_api_unofficial", | ||
"version": "2.0.4", | ||
"version": "2.0.5", | ||
"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
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
184036
2489
82
1
1
0
40