-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[youtube] Sign in to confirm you’re not a bot. This helps protect our community #10128
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as spam.
This comment was marked as spam.
Reportedly, authenticating with oauth (via this plugin) instead of cookies has been working for some users. This sign-in requirement is affecting almost all apps that access Youtube, including the official Youtube web app. |
i have this problem today, so what is do not pass cookie, it worked last week EDIT BY MAINTAINER: |
Unless you were already using
|
I don't pass any cookies, when i use -vU to show debug log, but it still not worked. Is it a bug need fix? |
YouTube has flagged and blocked your IP. You can try using OAuth to work around this, but there are no guarantees it will work for you. You may have to wait until you are assigned a new IP by your ISP. This can take around ~1 week to several months depending on your ISP. Most people have dynamic IPs, so your IP will eventually change. As I mentioned before, see #10085 and #10108 for more information. These issues are also listed in their FAQ. |
Embedding mode Line 321 in add96eb
|
@forxxin , but i have next problem: Where i can find this file? |
Your IP has been blacklisted by YouTube. Use a proxy with the following command: yt-dlp --proxy "userProxy:passwordProxy@ipProxy" URL |
Can someone who's affected by this please send a verbose log of |
VPNs and proxies WILL NOT work as YouTube actively blocks them as well. |
That is not so at all, I run vpn and works fine finding servers that has unblocked ip;s left. This is my experience right now, having run vpn for 4 years. Note! This goes for both for browsing and using yt-dlp |
seems yt-dl is working on my local machine but not on my contabo vps. |
You cannot install vpn on a vps?
|
i was thinking using node as proxy i dont want to funnel all the vps traffic through nord just the youtube stuff. can i do that? |
If you have a lot of unattended things going on at vps, I might not have good advice for you. There are split channel stuff that my email stuff go through without using vpn etc.
This might be to look for, think all vpn has this. |
Was getting similar error, "Get the best YouTube experience. Sign in to save videos..." and failed download. |
Also been having this issue the past week. Maybe its the way it is connecting and downloading from youtube and the method can be obfuscated so youtube doesn't know? Does this error occur when not using VPN - i cant test it as i need the VPN to have internet. |
The problem is that youtube now is blocking the IP, then using a VPN or proxy work because is another IP... I use the yt-dlp on some linux servers and on the server that have much use the youtube has blocked, but I'm using a proxy at this moment. THe problem is that the free proxy don't have 100% uptime but at this moment is working. I can't beleave if this new block method can bypassed. |
This problem is entirely Google's fault for militarizing access control, to the final goal of the collection and warehousing of your data. |
Does anybody know how long the ban lasts? Maybe someone was unbanned in this time? |
As I know, it worked at 6.7, 6.10 have this problem. it still not work today |
We can assume the ban lasts around 72 hours (~3 days). Nobody has details about this particular ban, and no one has conducted research on how long the |
I have this issue today. On my VPS server yt-dlp simply just don't work but as a proxy server I can access youtube on my browser through this IP address (haven't tested iOS device). I barely run yt-dlp on this IP address. Just once or twice a month. And before this issue occurred I ran yt-dlp to test if I can save live stream longer than 6 hours. |
I can watch youtube on iOS device. And I tried to run |
Are you signed in on the iOS device? |
Yes. The one I watch every day. |
I don't see how being able to watch Youtube on the iOS device while signed in means anything? The issue is that Youtube is requiring sign-in |
Maybe I can clarify things: However, I do receive the same "Sign in to confirm you're not a bot." error message when trying to use yt-dlp on the command line. So what I believe is happening here is that the web version sends some specific information to youtube to allow access to the stream data, which does not happen when trying to download it directly via the console. I do not think this has anything to do with banning at all. |
There are cases where the |
There's million things you can do with a browser, like run javascript to catch the full url.
So could be now that Google seen streamed traffic going down seriously, and ads too, they fine tune to really identify browser to they can stream
I will test next time I get "sign in..." for yt-dlp if going to that url with browser also and see if that is rejected too. EDIT: I did test after a reject from yt-dlp and then with Brave browser, no difference. So what User-Agent is the browser that work have that always works? Mine looks like this "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36" can also be taken from yt-dlp with parameter Somebody mentioned Firefox and some no cookies parameter that worked? Only logic I found is ip-banning.... |
I have the same issue with the same provider. The answer is to get yourself some residential proxies to work around the issue. @jfeldhamer |
I've had my residential IP blocked by YouTube for two weeks now, and it won't let any of us watch it without being signed in - I used an invidious instance locally for my own purposes and I also downloaded some videos with yt-dlp, but now both of those things don't work. My workaround has been to use a shared VPN IP and just download what I can with yt-dlp. I somehow expect that they're not going to unban my IP though. I got sick of all the scam ads I was being forced to watch, and having my comments not post and it not tell me, iv and yt-dlp are so much cleaner ways to watch. Thanks anyway for the work that everyone on the yt-dlp project has done so far :> I hope there's some fix at some point <3 |
I can categorically say that you are wrong about this. When all of this blocking began and video's were unavailable it took 10 mins to setup a second wireguard interface to route invidious through and the problem is no more (for my instance at least). You tube is blocking non-residential IP's much like Netflix and other services do. There are plenty of ways around this currently. |
I don't think it's possible for sites to block VPNs completely but rather only IP addresses known to be used by VPNs. I have noticed that an increasing number of websites seem to be curbing access from a lot of the popular public VPN servers in the past couple of years or so, yet some of the less popular public servers or private VPN servers still work in many cases. I think Netflix actively targets known VPNs to try and prevent circumvention of georestrictions. Other sites which seem to block access from a lot of VPNs, for example RateYourMusic and Deviantart, I don't think intentionally block them, but rather blacklist IP addresses that they've detected to be used for automated traffic, which a lot of the popular VPNs have been used for in the past. I think YouTube (or rather its video server) is taking the latter approach although I'm not 100% sure. I'm unsure if YouTube's new blocking measures are designed to prevent crawling from bandwidth consuming AI scrapers or if they are designed to stop the use of yt-dlp, but I think the former is the main reason. The workaround for a lot of affected Invidious servers seems to have been for them to switch to a rotating IPv6 range, which allows these instances to make requests from one of many addresses, meaning that the IP addresses in use by them avoid automated (excessive) traffic detection by YouTube's servers. |
DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE
Checklist
Please make sure the question is worded well enough to be understood
I've been having this problem for a day when I make a query from YouTube, it's more frequent than normal and I'm using proxies
ERROR: [youtube] 4TWR90KJl84: Sign in to confirm you’re not a bot. This helps protect our community. Learn more
Provide verbose output that clearly demonstrates the problem
yt-dlp -vU <your command line>
)'verbose': True
toYoutubeDL
params instead[debug] Command-line config
) and insert it belowComplete Verbose Output
The text was updated successfully, but these errors were encountered: