Repository: yt-dlp
Issue: [Truth] Only returns first valid `media_attachment`
Labels: site-bug,triage

### 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)
- [x] 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

Europe

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

The `truth.py` extractor currently blindly returns the first media_attchment in a post (see code: https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/truth.py#L58 )

This means
a) if the first media_attachment is not a video (e.g. an image) then it gets returned
b) if a post includes multiple media_attachments (videos), then only the first is returned and the rest are lost.

Something like this should be done:

```python
video_media = []
for media in status['media_attachments']:
    if media['type'] != 'video':
        continue
    # do stuff with the video media
    video_media.append(self.from_playlist(media))

if not len(video_media):
    self.raise_no_formats('No video could be found in this post', expected=True)

```
    

### Provide verbose output that clearly demonstrates the problem

- [x] Run **your** yt-dlp command with **-vU** flag added (`yt-dlp -vU <your command line>`)
- [x] 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: ['-vU', 'https://truthsocial.com/@trrth/posts/113861302149349135']
[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@2025.01.12 from yt-dlp/yt-dlp [dade5e35c] (pip)
[debug] Python 3.11.10 (CPython x86_64 64bit) - macOS-12.7.6-x86_64-i386-64bit (OpenSSL 3.4.0 22 Oct 2024)
[debug] exe versions: ffmpeg 7.0.2 (setts), ffprobe 7.0.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.21.0, brotli-1.1.0, certifi-2024.12.14, mutagen-1.47.0, requests-2.32.3, secretstorage-3.3.3, sqlite3-3.47.2, urllib3-2.3.0, websockets-14.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1837 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
[debug] Downloading _update_spec from https://github.com/yt-dlp/yt-dlp/releases/latest/download/_update_spec
Current version: stable@2025.01.12 from yt-dlp/yt-dlp
Latest version: stable@2025.01.15 from yt-dlp/yt-dlp
ERROR: You installed yt-dlp with pip or using the wheel from PyPi; Use that to update
[Truth] Extracting URL: https://truthsocial.com/@trrth/posts/113861302149349135
[Truth] 113861302149349135: Downloading JSON metadata
[debug] Extractor gave empty title. Creating a generic title
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec, channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 113861302149349135: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://static-assets-1.truthsocial.com/tmtg:prime-ts-assets/media_attachments/files/113/861/298/021/400/485/original/56d7ac0eefd8b763.png"
[download] Destination: Truth video #113861302149349135 [113861302149349135].png
[download] 100% of   61.62KiB in 00:00:00 at 115.73KiB/s
```