YoutubeDLSharp icon indicating copy to clipboard operation
YoutubeDLSharp copied to clipboard

403 Forbidden

Open xeo545x39 opened this issue 1 year ago • 1 comments

When using library it returns 403 forbidden as on image below. Running yt-dlp standalone works correctly and downloads the file.

var ytdl = new YoutubeDL
    {
        OutputFolder = convertedDir
    };

   var result = await ytdl.RunVideoDownload(
                new Uri(videoUrl).ToString());

image image

xeo545x39 avatar Feb 29 '24 00:02 xeo545x39

Hey @xeo545x39, did you ensure to use the exact same version of yt-dlp in both cases? Could you share an example link where this happens to help me reproduce?

alxnull avatar Apr 28 '24 12:04 alxnull