Repository: yt-dlp
Issue: Some Reddit videos fail to download
Labels: NSFW,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 that yt-dlp is broken on a **supported** site
- [X] I've verified that I have **updated yt-dlp to nightly or master** ([update instructions](https://github.com/yt-dlp/yt-dlp#update-channels))
- [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 all URLs and arguments with special characters are [properly quoted or escaped](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#video-url-contains-an-ampersand--and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command)
- [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 I'm willing to share it if required

### Region

Ireland

### Provide a description that is worded well enough to be understood

Most Reddit videos work fine, but some don't. At a quick glance, the commonality is that it's a GIF image which Reddit has converted to video themselves. This video actually was very easy to download in the browser, because it's a normal <video> tag with a normal src attribute, which seems to point directly to an MP4 file. I didn't try that initially, because yt-dlp usually works better for Reddit videos.

Note: The example I've got is NSFW. Sorry about that.

### 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
[debug] Command-line config: ['-Uv', 'https://www.reddit.com/r/gayporndaily/comments/137xou6/anyone_has_seen_this_recently_the_transition_is/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.11.11.232805 from yt-dlp/yt-dlp-nightly-builds [a9f85670d] (zip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-48-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: Cryptodome-3.20.0, certifi-2023.11.17, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.45.1, urllib3-2.0.7
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1838 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/latest/download/_update_spec
[debug] Downloading SHA2-256SUMS from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.12.02.233010/SHA2-256SUMS
Current version: nightly@2024.11.11.232805 from yt-dlp/yt-dlp-nightly-builds
Latest version: nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds
Current Build Hash: 6540c6e222318a85a7f254e6871a0d473b00411aa4f2bb734565dae9be405c7e
Updating to nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds ...
[debug] Downloading yt-dlp from https://github.com/yt-dlp/yt-dlp-nightly-builds/releases/download/2024.12.02.233010/yt-dlp
Updated yt-dlp to nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds
[debug] Restarting: python3 /usr/local/bin/yt-dlp -Uv https://www.reddit.com/r/gayporndaily/comments/137xou6/anyone_has_seen_this_recently_the_transition_is/
[debug] Command-line config: ['-Uv', 'https://www.reddit.com/r/gayporndaily/comments/137xou6/anyone_has_seen_this_recently_the_transition_is/']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds [d8fb34908] (zip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-6.8.0-48-generic-x86_64-with-glibc2.39 (OpenSSL 3.0.13 30 Jan 2024, glibc 2.39)
[debug] exe versions: ffmpeg 6.1.1 (setts), ffprobe 6.1.1
[debug] Optional libraries: Cryptodome-3.20.0, certifi-2023.11.17, requests-2.31.0, secretstorage-3.3.3, sqlite3-3.45.1, urllib3-2.0.7
[debug] Proxy map: {}
[debug] Request Handlers: urllib
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.12.02.233010 from yt-dlp/yt-dlp-nightly-builds)
[Reddit] Extracting URL: https://www.reddit.com/r/gayporndaily/comments/137xou6/anyone_has_seen_this_recently_the_transition_is/
[Reddit] 137xou6: Downloading JSON metadata
[generic] Extracting URL: https://i.redd.it/q7x461z6twxa1.gif
[generic] q7x461z6twxa1: Downloading webpage
[redirect] Following redirect to https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fq7x461z6twxa1.gif&rdt=33670
[generic] Extracting URL: https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fq7x461z6twxa1.gif&rdt=33670
[generic] media?url=https://i.redd.it/q7x461z6twxa1: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] media?url=https://i.redd.it/q7x461z6twxa1: Extracting information
[debug] Looking for embeds
ERROR: Unsupported URL: https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fq7x461z6twxa1.gif&rdt=33670
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1624, in wrapper
    return func(self, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1759, in __extract_info
    ie_result = ie.extract(url)
                ^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 742, in extract
    ie_result = self._real_extract(url)
                ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 2553, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%2Fq7x461z6twxa1.gif&rdt=33670
```