Repository: yt-dlp
Issue: Make yt-dlp Mastodon-media metadata (account, text, handle) aware
Labels: site-request

### DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

- [X] I understand that I will be **blocked** if I remove or skip any mandatory\* field

### Checklist

- [X] I'm requesting a feature unrelated to a specific site
- [X] I've looked through the [README](https://github.com/yt-dlp/yt-dlp#readme)
- [X] I've verified that I'm running yt-dlp version **2022.11.11** ([update instructions](https://github.com/yt-dlp/yt-dlp#update)) or later (specify commit)
- [X] I've searched 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)

### Provide a description that is worded well enough to be understood

Currently, yt-dlp is only partially capable to download video oder audio from Mastodon instances.

Examples:

* Toot with a video ```yt-dlp https://chaos.social/web/@strassenkrampf@mastodon.social/109355027724966618```
* Toot with an audio ```yt-dlp https://chaos.social/@wikinaut/109367413999728260```
* or the second example but with an clerical Url: ```yt-dlp https://chaos.social/web/@wikinaut@chaos.social/109367413999728260```

downloads the mp4 video file (yes) or the mp3 audio file (yes), but not the metadata or data from that toot (author, url, text) like it does for Twitter tweets.

Therefore I would like to suggest to implement the corresponding features for Mastodon toots, mutatis mutandis.

### 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] Copy the WHOLE output (starting with `[debug] Command-line config`) and insert it below

### Complete Verbose Output

```shell
yt-dlp -vU https://chaos.social/web/@strassenkrampf@mastodon.social/109355027724966618
[debug] Command-line config: ['-vU', 'https://chaos.social/web/@strassenkrampf@mastodon.social/109355027724966618']
[debug] User config "/home/benutzer/.config/yt-dlp/config": ['-o', '~/Videos/youtube-dl/%(title)s.%(ext)s', '-f', 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.11.11 [8b64402] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-132-generic-x86_64-with-glibc2.29 (OpenSSL 1.1.1f  31 Mar 2020, glibc 2.31)
[debug] exe versions: ffmpeg 4.2.7, ffprobe 4.2.7, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2019.11.28, mutagen-1.45.1, pyxattr-0.6.1, secretstorage-2.3.1, sqlite3-2.6.0, websockets-10.0
[debug] Proxy map: {}
[debug] Loaded 1723 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.11.11, Current version: 2022.11.11
yt-dlp is up to date (2022.11.11)
[debug] [generic] Extracting URL: https://chaos.social/web/@strassenkrampf@mastodon.social/109355027724966618
[generic] 109355027724966618: Downloading webpage
[redirect] Following redirect to https://mastodon.social/@strassenkrampf/109355027637984166
[debug] [generic] Extracting URL: https://mastodon.social/@strassenkrampf/109355027637984166
[generic] 109355027637984166: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] 109355027637984166: Extracting information
[debug] Looking for embeds
[debug] Identified a twitter:player iframe
[debug] [generic] Extracting URL: https://mastodon.social/media/109355027303913008/player
[generic] player: Downloading webpage
WARNING: [generic] Falling back on generic information extractor
[generic] player: Extracting information
[debug] Looking for embeds
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Identified a html5 embed
[info] player-1: Downloading 1 format(s): 0
[debug] Invoking http downloader on "https://files.mastodon.social/media_attachments/files/109/355/027/303/913/008/original/8b25cb6eb9dc3106.mp4"
[download] /home/benutzer/Videos/youtube-dl/Mastodon (1).mp4 has already been downloaded
[download] 100% of  412.10KiB
```