Open princew7 opened 1 month ago
Can you please provide where the warning was created? It would be helpful.
Hi, I had received this error as well, I have provided the error below and a screenshot
(node:2112406) Warning: YoutubeExtractor uses scraping-based streaming libraries which is known to be unstable at times. An alternative is to use discord-player-youtubei https://npm.im/discord-player-youtubei View this GitHub issue for more information: https://github.com/Androz2091/discord-player/issues/1922 (Use
node --trace-warnings ...to show where the warning was created)
Hi, I had received this error as well, I have provided the error below and a screenshot
(node:2112406) Warning: YoutubeExtractor uses scraping-based streaming libraries which is known to be unstable at times. An alternative is to use discord-player-youtubei https://npm.im/discord-player-youtubei View this GitHub issue for more information: https://github.com/Androz2091/discord-player/issues/1922 (Use
node --trace-warnings ...to show where the warning was created)
Thanks, same issue
not really helpfull, but same
@BoredKevin Can you please run the bot with the node --trace-warnings
to locate where the warning is created?
Here is what I got:
(node:3932631) Warning: YoutubeExtractor uses scraping-based streaming libraries which is known to be unstable at times.
An alternative is to use discord-player-youtubei https://npm.im/discord-player-youtubei
View this GitHub issue for more information: https://github.com/Androz2091/discord-player/issues/1922
at _YoutubeExtractor.activate (/home/musicbot/lethal-boombox/node_modules/@discord-player/extractor/dist/index.js:563:13)
at async _ExtractorExecutionContext.register (/home/musicbot/lethal-boombox/node_modules/discord-player/dist/index.js:1340:7)
So this error comes from the YoutubeExtractor
which the discord-player
package uses, We will need to replace that with the Discord Player YouTubei
package and modify the code to solve this.
can you modify the code for discord player youtubei?
@malitha22 Kinda busy right now on other things
In https://github.com/Androz2091/discord-player/issues/1922 there are some implementations for the conversions from a few days ago but I haven't tested it yet. Can someone else give it a try?
運行機器人後的提示 (node:25356) Warning: YoutubeExtractor uses scraping-based streaming libraries which is known to be unstable at times. An alternative is to use discord-player-youtubei https://npm.im/discord-player-youtubei View this GitHub issue for more information: https://github.com/Androz2091/discord-player/issues/1922 (Use
node --trace-warnings ...
to show where the warning was created) 某些歌曲在抓取上確實存在問題