codetheweb / muse

🎧 a self-hosted midwestern Discord music bot that doesn't suck
MIT License
799 stars 201 forks source link

Issue in ytdl-core #979

Open quinnlangille opened 7 months ago

quinnlangille commented 7 months ago

What's happening? https://github.com/fent/node-ytdl-core/issues/1261 this issue in ytdl-core causing an error

Logs

koa=function(a,b,c,d){var e=null;switch(b){case "JSON":try{var f=c.responseText}catch(h){throw d=Error("Error reading responseText"),d.params=a,JB(d),h;}a=c.getResponseHeader("Content-Type")||"";f&&0<=a.indexOf("json")&&(")]};gma(ncode);                                                                                                                                                                                                                           ^^^^^^^^^^^^^^^^

SyntaxError: Invalid or unexpected token

Screenshots If applicable, add screenshots to help explain your problem.

Additional context Add any other context about the problem here.

Runtime I'm running Muse:

Versions

thatbluflame commented 7 months ago

Same issue, is there any fix?

thatbluflame commented 7 months ago

Ok I fixed it with this: https://github.com/fent/node-ytdl-core/issues/1251#issuecomment-1709425519