fent / node-ytdl-core

YouTube video downloader in javascript.
MIT License
4.48k stars 790 forks source link

No video id found #536

Closed ghost closed 4 years ago

ghost commented 4 years ago

I made a Discord bot with ytdl-core and it worked fine until today now every time i want to use it it says: (node:7491) UnhandledPromiseRejectionWarning: Error: No video id found: play at Object.exports.getURLVideoID (/rbd/pnpm-volume/a610284f-456c-4912-92bf-5cb18d35ec00/node_modules/.registry.npmjs.org/ytdl-core/1.0.3/node_modules/ytdl-core/lib/util.js:271:12) at Object.exports.getVideoID (/rbd/pnpm-volume/a610284f-456c-4912-92bf-5cb18d35ec00/node_modules/.registry.npmjs.org/ytdl-core/1.0.3/node_modules/ytdl-core/lib/util.js:293:20) at Function.exports.(anonymous function) [as getInfo] (/rbd/pnpm-volume/a610284f-456c-4912-92bf-5cb18d35ec00/node_modules/.registry.npmjs.org/ytdl-core/1.0.3/node_modules/ytdl-core/lib/info.js:327:21) at ytdl (/rbd/pnpm-volume/a610284f-456c-4912-92bf-5cb18d35ec00/node_modules/.registry.npmjs.org/ytdl-core/1.0.3/node_modules/ytdl-core/lib/index.js:17:8)

fent commented 4 years ago

you passed the string "play" to ytdl-core

ghost commented 4 years ago

OOf i am sry for the time I wasted for you. I pushed the Play Argument to the Queue not the link. I hope I don't wasted too much time of yours.