Repository: youtube-dl
Issue: Sign in to confirm you’re not a bot - message unclear
Labels: broken-IE

<!--

######################################################################
  WARNING!
  IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE
######################################################################

-->


## Checklist

<!--
Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl:
- First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED.
- Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser.
- Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape.
- Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates.
- Read bugs section in FAQ: http://yt-dl.org/reporting
- Finally, put x into all relevant boxes (like this [x])
-->

- [?] I'm reporting a broken site support issue - I don't know what the difference is between a "site support issue" and any other type of issue. I think this _might_ be a site support issue?
- [x] I've verified that I'm running youtube-dl version **2021.12.17**
- [x] I've checked that all provided URLs are alive and playable in a browser
- [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
- [x] I've searched the bugtracker for similar bug reports including closed ones
- [x] I've read bugs section in FAQ


## Verbose log

<!--
Provide the complete verbose output of youtube-dl that clearly demonstrates the problem.
Add the `-v` flag to your command line you run youtube-dl with (`youtube-dl -v <your command line>`), copy the WHOLE output and insert it below. It should look similar to this:
 [debug] System config: []
 [debug] User config: []
 [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
 [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
 [debug] youtube-dl version 2021.12.17
 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
 [debug] Proxy map: {}
 <more lines>
-->

```
$ youtube-dl -v "https://www.youtube.com/watch?v=zvP3FJfPgx8"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=zvP3FJfPgx8']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-47-generic-x86_64-with-glibc2.39 - OpenSSL 3.0.13 30 Jan 2024 - glibc 2.39
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] zvP3FJfPgx8: Downloading webpage
ERROR: Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Traceback (most recent call last):
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 875, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 971, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/extractor/common.py", line 571, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/extractor/youtube.py", line 2248, in _real_extract
    raise ExtractorError(reason, expected=True)
youtube_dl.utils.ExtractorError: Sign in to confirm you’re not a bot
This helps protect our community. Learn more

```


## Description

<!--
Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
-->
... (and this time using the issue template)

When trying to download some videos, I get an error message, telling me to sign in and confirm I'm not a bot. The error message appears incomplete, so it's hard for me to know how to sign in, or learn more.

Steps to reproduce:

```
$ youtube-dl -v "https://www.youtube.com/watch?v=VsG4zXzQwBs"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=VsG4zXzQwBs']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-47-generic-x86_64-with-glibc2.39 - OpenSSL 3.0.13 30 Jan 2024 - glibc 2.39
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] VsG4zXzQwBs: Downloading webpage
ERROR: Sign in to confirm you’re not a bot
This helps protect our community. Learn more
Traceback (most recent call last):
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 875, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/YoutubeDL.py", line 971, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/extractor/common.py", line 571, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/matthew/venv/lib/python3.12/site-packages/youtube_dl/extractor/youtube.py", line 2248, in _real_extract
    raise ExtractorError(reason, expected=True)
youtube_dl.utils.ExtractorError: Sign in to confirm you’re not a bot
This helps protect our community. Learn more
```

There's two things about this error message which I think should be improved:

1. Sign in? How? Where? The error message does not say, and the [readme](https://github.com/ytdl-org/youtube-dl) does not mention the phrase "sign in".
2. "Learn more" - ok, how? Where? It seems like the rest of that sentence is missing, or perhaps this was supposed to be rendered as a hyperlink to something?

Note that I don't get this behavior for all videos. This one worked:

```
$ youtube-dl -v "https://www.youtube.com/watch?v=wOvyF6jFKa8"
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=wOvyF6jFKa8']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-47-generic-x86_64-with-glibc2.39 - OpenSSL 3.0.13 30 Jan 2024 - glibc 2.39
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] wOvyF6jFKa8: Downloading webpage
[youtube] wOvyF6jFKa8: Downloading player fb725ac8
[debug] [youtube] Decrypted nsig VH0az-_4sTterYE2 => I_HeD02AtpQ_XA
[debug] [youtube] Decrypted nsig 7t_v2cysifiN8ObX => yhctZpqRjAGNWg
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://rr2---sn-25ge7nzk.googlevideo.com/videoplayback?expire=1729883126&ei=lpcbZ-uSOem3mLAPqKDk6Qs&ip=80.239.186.177&id=o-AP5Ix71aMWUT1ifJRCanuEz7GeCEfJt03q3eB1ulYjtC&itag=18&source=youtube&requiressl=yes&xpc=EgVo2aDSNQ%3D%3D&met=1729861526%2C&mh=g0&mm=31%2C26&mn=sn-25ge7nzk%2Csn-5hneknek&ms=au%2Conr&mv=m&mvi=2&pl=27&rms=au%2Cau&initcwndbps=651250&bui=AQn3pFSYT6282GQSSkXGknnOUsvKVprkaQ8uojZlwJJnjZbJwueSuzbZDqdzZTOkKpHub7b5oOj5dmy1&spc=qtApAc1u6Ar0zfFF0FZkcota8GELVKmlaHw3o7kaqk0-pl6lCgNvcvOejRmpQcA&vprv=1&svpuc=1&mime=video%2Fmp4&ns=Ztku3Eph-tS4WuW2uAkiH3AQ&rqh=1&gir=yes&clen=40429114&ratebypass=yes&dur=464.399&lmt=1712638545393852&mt=1729861298&fvip=1&fexp=51312688%2C51326931&c=WEB&sefc=1&txp=5319224&n=I_HeD02AtpQ_XA&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cxpc%2Cbui%2Cspc%2Cvprv%2Csvpuc%2Cmime%2Cns%2Crqh%2Cgir%2Cclen%2Cratebypass%2Cdur%2Clmt&sig=AJfQdSswRQIgddk3yXeXpe6WWVRHXykGIWeruEQK-qqc2sSP0NexNmoCIQC4w1kCa9e05e-tzrqeZAkMh9QqdekpZgsaqQmlgj1Fvw%3D%3D&lsparams=met%2Cmh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Crms%2Cinitcwndbps&lsig=ACJ0pHgwRgIhAIrz3AW5zAbc7L0_R29UJXb25YoUEuQem5htbKeLmfzQAiEAyO7zCn6j2dfgHQKzDACPDo_6S1SE4pprbXCof_2mepo%3D'
[download] Destination: Je teste mon cadeau de Noël 🎁 -  B1 #8-wOvyF6jFKa8.mp4
[download] 100% of 38.56MiB in 00:32
```

There are of course several duplicates of this, (almost) all closed because they were low-effort tickets without the debug info. (Wow those really were low-effort posts. I feel sorry for the maintainers.) Hopefully I've met the requirements for using the template etc.

* #32920
* #32915
* #32913
* #32933