Repository: yt-dlp
Issue: Google search youtube video links
Labels: site-enhancement,site-bug

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I *intentionally* remove or skip any mandatory\* field

### Checklist

- [X] I'm reporting a new site support request
- [X] I've verified that I'm running yt-dlp version **2023.06.22** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
- [X] I've checked that none of provided URLs [violate any copyrights](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#is-the-website-primarily-used-for-piracy) or contain any [DRM](https://en.wikipedia.org/wiki/Digital_rights_management) to the best of my knowledge
- [X] I've searched [known issues](https://github.com/yt-dlp/yt-dlp/issues/3766) and the [bugtracker](https://github.com/yt-dlp/yt-dlp/issues?q=) for similar issues **including closed ones**. DO NOT post duplicates
- [X] I've read the [guidelines for opening an issue](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#opening-an-issue)
- [ ] I've read about [sharing account credentials](https://github.com/yt-dlp/yt-dlp/blob/master/CONTRIBUTING.md#are-you-willing-to-share-account-details-if-needed) and am willing to share it if required

### Region

Poland

### Example URLs

https://www.google.com/search?q=proton%20vs%20windows%20fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8

### Provide a description that is worded well enough to be understood

When searching google, it sometimes shows a video section. For example at: https://www.google.com/search?q=proton%20vs%20windows%20fps

In this video section, the title of the video links to youtube: https://www.youtube.com/watch?v=_EwD4hv7ZR8
But the thumbnail (somtimes) links to: https://www.google.com/search?q=proton%20vs%20windows%20fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8

It happens with youtube, not with vimeo, no idea about other providers
It seems to happen in qutebrowser but not in firefox
If the video section does not show up by itself, you can press on the video tab
The link might also include some tracking data, but the `vid:` part still exsits in such a case

It would be nice if yt-dlp could handle such links properly, downloading the youtube video

Edit: After I've logged in to google in Firefox it also started happening

### Provide verbose output that clearly demonstrates the problem

- [X] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [ ] If using API, add `'verbose': True` to `YoutubeDL` params instead
- [X] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
~ $ yt-dlp -vU 'https://www.google.com/search?q=proton%20vs%20windows%20fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8'
[debug] Command-line config: ['-vU', 'https://www.google.com/search?q=proton%20vs%20windows%20fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version stable@2023.06.22 [812cdfa06]
[debug] Python 3.11.3 (CPython x86_64 64bit) - Linux-6.3.3-zen1-1.1-zen-x86_64-with-glibc2.37 (OpenSSL 3.1.1 30 May 2023, glibc 2.37)
[debug] exe versions: ffmpeg 6.0 (setts), ffprobe 6.0
[debug] Optional libraries: Cryptodome-3.12.0, brotlicffi-1.0.9.2, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-10.4
[debug] Proxy map: {}
[debug] Loaded 1851 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.06.22, Current version: stable@2023.06.22
yt-dlp is up to date (stable@2023.06.22)
[generic] Extracting URL: https://www.google.com/search?q=proton%20vs%20windows%20fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8
[generic] search?q=proton vs windows fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] search?q=proton vs windows fps#fpstate=ive&vld=cid:178fa594,vid:_EwD4hv7ZR8: Extracting information
[debug] Looking for embeds
[redirect] Following redirect to https://www.google.com/search?q=proton+vs+windows+fps&gbv=1&sei=JoCVZNiKB4anqtsP0YSrgAw
[generic] Extracting URL: https://www.google.com/search?q=proton+vs+windows+fps&gbv=1&sei=JoCVZNiKB4anqtsP0YSrgAw
[generic] search?q=proton+vs+windows+fps&gbv=1&sei=JoCVZNiKB4anqtsP0YSrgAw: Downloading webpage
[redirect] Following redirect to https://consent.google.com/ml?continue=https://www.google.com/search%3Fq%3Dproton%2Bvs%2Bwindows%2Bfps%26gbv%3D1%26sei%3DJoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1
[generic] Extracting URL: https://consent.google.com/ml?continue=https://www.google.com/search%3Fq%3Dproton%2Bvs%2Bwindows%2Bfps%26gbv%3D1%26sei%3DJoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1
[generic] search?q=proton+vs+windows+fps&gbv=1&sei=JoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] search?q=proton+vs+windows+fps&gbv=1&sei=JoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://consent.google.com/ml?continue=https://www.google.com/search%3Fq%3Dproton%2Bvs%2Bwindows%2Bfps%26gbv%3D1%26sei%3DJoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1555, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/YoutubeDL.py", line 1631, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/common.py", line 708, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/yt_dlp/extractor/generic.py", line 2568, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://consent.google.com/ml?continue=https://www.google.com/search%3Fq%3Dproton%2Bvs%2Bwindows%2Bfps%26gbv%3D1%26sei%3DJoCVZNiKB4anqtsP0YSrgAw&gl=PL&m=0&pc=srp&uxe=none&hl=pl&src=1
```