Tyrrrz / YoutubeDownloader

Downloads videos and playlists from YouTube
MIT License
8.7k stars 1.19k forks source link

Can't download videos that have suicide content warning #476

Open fsfsdfcsef opened 2 months ago

fsfsdfcsef commented 2 months ago

Version

v1.12.2

Platform

Windows 10

Steps to reproduce

Try to download this video: https://www.youtube.com/watch?v=vcw5THyM7Jo https://www.youtube.com/watch?v=vcw5THyM7Jo&rco=1

Details

It shows the following error when I try to download this video 捕获 捕获2

This video have suicide content warning 捕获3

Checklist

ninianne98 commented 5 days ago

I experience similar behavior (403 Forbidden warning) if there is an age check on the video.

I have authenticated in the download tool, but I get a similar warning as to the issue described by the OP.

One of the LTT April Fool's videos: https://www.youtube.com/watch?v=dJwjqZZgcWk

If I am not logged into google with my desktop browser, I will be greeted with "Sign in to confirm your age This video may be inappropriate for some users." when trying to play the video.

Tyrrrz commented 5 days ago

I have authenticated in the download tool, but I get a similar warning as to the issue described by the OP.

If you're authenticated, you shouldn't see the warning

ninianne98 commented 5 days ago

I'd have thought so, but that is the behavior I am seeing.

I am using 1.13.3 - the win x64 bundle on windows 10. If there are as-yet "unreleased" fixes in a specific branch, I'm up for using that.

My daily driver browser is Firefox, when logged into google, I can play the video no problem, but if I access using Edge or Chrome, which I do not log into google on any regular basis, I am prompted with the age warning.

I did have an earlier issue where I tried downloading another video, and got a short alert along the lines of "video 'X' not available" vs the 403 Forbidden error stack, and in that case, was greeted with a "login to prove you are not a bot" when viewing in Edge or Chrome, and so, once I had logged in with the tool, the video downloaded no problem. I have remained logged into the tool, and have verified the login status using the authentication icon and dialog.

I'm up for some debugging if there's some breakpoints etc that might be likely suspects that might provide more details.