https://www.youtube.com/get_video_info?video_id={videoId} is throwing
Response status code does not indicate success: 404 (Not Found).
EDIT: I found this can work. I don't why. But it really works.
https://www.youtube.com/get_video_info?video_id=onz2k4zoLjQ&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2Fonz2k4zoLjQ&html5=1&c=TVHTML5&cver=6.20180913
You can add &html5=1
in the url to fix it.
For some reason, Google is trying to make it harder.
Edit Aug 2021:
I just published a new NuGet for C# developers that brings URLs of get_video_info. Enjoy! https://www.nuget.org/packages/Youtube.VideoInfo
The initial value washttps://www.youtube.com/get_video_info?video_id={videoId}&eurl=https://youtube.googleapis.com/v/{videoId}
Then the HTML5 tag was added:https://www.youtube.com/get_video_info?html5=1&video_id={videoId}&eurl=https://youtube.googleapis.com/v/{videoId}
And now (June 2021) the new solution is:https://www.youtube.com/get_video_info?video_id={videoId}&eurl=https%3A%2F%2Fyoutube.googleapis.com%2Fv%2Fonz2k4zoLjQ&html5=1&c=TVHTML5&cver=6.20180913
We need to keep our eyes open. looks like someone in google doesn't like the fact that YouTube enables this feature.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With