Closed etkosko closed 1 year ago
I've checked that all provided URLs are playable in a browser with the same IP and same login details
Can you confirm this?
how can I confirm this ?
Open the webpage URL in browser on the same machine, from the same IP address, and in a private browsing session (not logged in, since you are not passing cookies to yt-dlp) and see if the media will play
the media didnt play it gave error "Unfortunately, Yandex Music isn't available in your country yet" (Didn't play in private browsing mode)
I've checked that all provided URLs are playable in a browser with the same IP and same login details
The reason why this is in the issue checklist is because you can't expect yt-dlp to be able to download a video if you can't play it in your browser
Maybe the error could be caught and the extractor could raise with a more descriptive error message? The HTTP error is already fairly descriptive though
Why is this reopened?
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Region
No response
Provide a description that is worded well enough to be understood
I have a music bot that opens music via discord, but my bot cannot read the json of the music from yandex music or other platforms
c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:111 throw new import_distube.DisTubeError("YTDLP_ERROR", ${e2.stderr || e2}); ^ DisTubeError [YTDLP_ERROR]: ERROR: [yandexmusic:track] 70033669: Unable to download JSON metadata: HTTP Error 451: Unavailable For Legal Reasons (caused by <HTTPError 451: 'Unavailable For Legal Reasons'>); please report this issue on https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using yt-dlp -U at c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:111:13 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async YtDlpPlugin.resolve (c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules@distube\yt-dlp\dist\index.js:103:18) at async DisTube.play (c:\Users\mrlah\OneDrive\Masaüstü\Ubuntu\Constructor\node_modules\distube\dist\index.js:2279:14) { errorCode: 'YTDLP_ERROR' }
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output