fent / node-ytdl

Command line youtube video downloader.
MIT License
1.25k stars 155 forks source link

Video id (undefined) does not match expected format (/^[a-zA-Z0-9-_]{11}$/) #65

Closed Clickssy closed 7 years ago

Clickssy commented 7 years ago

When i do +play something it comes back as this error!

Uncaught Promise Error: TypeError: Video id (undefined) does not match expected format (/^[a-zA-Z0-9-_]{11}$/) at Object.exports.getURLVideoID (C:\Users\louis\Desktop\discordmusicbot\node_modules\ytdl-core\lib\util.js:233:12) at Object.exports.getVideoID (C:\Users\louis\Desktop\discordmusicbot\node_modules\ytdl-core\lib\util.js:251:20) at getInfo (C:\Users\louis\Desktop\discordmusicbot\node_modules\ytdl-core\lib\info.js:48:17) at ytdl (C:\Users\louis\Desktop\discordmusicbot\node_modules\ytdl-core\lib\index.js:19:3) at C:\Users\louis\Desktop\discordmusicbot\index.js:107:18 at at process._tickCallback (internal/process/next_tick.js:188:7)

fent commented 7 years ago

This repository is for ytdl, the cli command that uses ytdl-core. Plus, the bot that you are using, discordmusicbot, seems to be misusing ytdl-core, giving it a non id.

Clickssy commented 7 years ago

English?

Sent by the motherfuckin Clickssy

On 15 Oct 2017, at 3:27 am, Roly Fentanes notifications@github.com wrote:

This repository is for ytdl, the cli command that uses ytdl-core. Plus, the bot that you are using, discordmusicbot, seems to be misusing ytdl-core, giving it a non id.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.