⬆️ Bump soundcloud-scraper
This commit is contained in:
parent
78114ec36d
commit
f88e77170d
2 changed files with 2 additions and 2 deletions
|
@ -32,7 +32,7 @@
|
||||||
"merge-options": "^2.0.0",
|
"merge-options": "^2.0.0",
|
||||||
"moment": "^2.27.0",
|
"moment": "^2.27.0",
|
||||||
"node-fetch": "^2.6.0",
|
"node-fetch": "^2.6.0",
|
||||||
"soundcloud-scraper": "^1.0.2",
|
"soundcloud-scraper": "^2.0.0",
|
||||||
"spotify-url-info": "^1.3.1",
|
"spotify-url-info": "^1.3.1",
|
||||||
"ytpl": "^0.2.4",
|
"ytpl": "^0.2.4",
|
||||||
"ytsr": "^0.1.19"
|
"ytsr": "^0.1.19"
|
||||||
|
|
|
@ -152,7 +152,7 @@ class Player extends EventEmitter {
|
||||||
} else if (queryType === 'soundcloud-song') {
|
} else if (queryType === 'soundcloud-song') {
|
||||||
const soundcloudData = await soundcloud.getSongInfo(query).catch(() => {})
|
const soundcloudData = await soundcloud.getSongInfo(query).catch(() => {})
|
||||||
if (soundcloudData) {
|
if (soundcloudData) {
|
||||||
updatedQuery = `${soundcloudData.author} - ${soundcloudData.title}`
|
updatedQuery = `${soundcloudData.author.name} - ${soundcloudData.title}`
|
||||||
queryType = 'youtube-video-keywords'
|
queryType = 'youtube-video-keywords'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue