Closed doesch closed 4 months ago
same issue
same issue
Ohh... bad news. I need this library for my own Youtube App replica :( I tried to explore libvideo src code but I have no skills to fix this problem. And I cannot to use YoutubeExplode (no compatibility to .NET Standard 1.4)
Access to rr18---sn-n8v7kne7.googlevideo.com was denied
You don't have authorization to view this page.
HTTP ERROR 403
In my environment, downgrading VideoLibrary to the older version 3.1.9 worked as before. I wonder if the URL generation logic has changed since 3.2.0.
In my environment, downgrading VideoLibrary to the older version 3.1.9 worked as before. I wonder if the URL generation logic has changed since 3.2.0.
Interesting finding / notice. Ok, I'll compare 3.1.9 & 3.2.0 (maybe, old JS Engine was more universal... idk). Thank you for quick reply.
Best, [m]edia[e]xplorer Old Big Windows 10 Mobile fanboy
In my environment, downgrading VideoLibrary to the older version 3.1.9 worked as before. I wonder if the URL generation logic has changed since 3.2.0.
Unfortunately an downgrade to V3.1.9 doesn´t solve the issue in my application. I get still:
System.Net.Http.HttpRequestException: 'Response status code does not indicate success: 403 (Forbidden).
In my environment, downgrading VideoLibrary to the older version 3.1.9 worked as before. I wonder if the URL generation logic has changed since 3.2.0.
Unfortunately an downgrade to V3.1.9 doesn´t solve the issue in my application. I get still:
System.Net.Http.HttpRequestException: 'Response status code does not indicate success: 403 (Forbidden).
Either way, as Google is in the process of changing YouTube's specs, the previous version might not work anymore. I've checked and this library works with .NET Framework 4.8.1, so it might not work with more recent versions. To get to the bottom of this, we need to take a closer look at the source code to see how this library generates direct links.
(Sorry for the poor writing, I'm using translations)
Hello guys, sorry for lately responding and solving. I have just published new version, can anyone try this ?
Tested -> fixed!
I use the following code which makes problems since the last two weeks:
The codeline
System.IO.File.WriteAllBytes(path, vid.GetBytes());
produces the following error:System.Net.Http.HttpRequestException: 'Response status code does not indicate success: 403 (Forbidden).'
The YouTube URL is: https://music.youtube.com/watch?v=SuXoyuVePcY I tried multiple links. No link is working any more. Nuget-Package: VideoLibrary V3.2.3