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.
&html5=1
1.4m articles
1.4m replys
5 comments
57.0k users