Repository: yt-dlp
Issue: Feature request: Twitter Spaces subtitles
Labels: site-enhancement

### 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 requesting a site-specific feature
- [X] I've verified that I'm running yt-dlp version **2023.07.06** ([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 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

Various

### Example URLs

https://twitter.com/i/spaces/1YqJDoZPqnoGV

### Provide a description that is worded well enough to be understood

Feature request: ability to download the subtitles from a Twitter Spaces recording. Currently the audio can be downloaded, but not the subtitles.

### 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
user@linuxpc1:~$ yt-dlp -vU --write-subs --cookies "/home/user/downloads/twitter.com_cookies.txt" "https://twitter.com/i/spaces/1YqJDoZPqnoGV"
/usr/lib/python3/dist-packages/secretstorage/dhcrypto.py:15: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
/usr/lib/python3/dist-packages/secretstorage/util.py:19: CryptographyDeprecationWarning: int_from_bytes is deprecated, use int.from_bytes instead
  from cryptography.utils import int_from_bytes
[debug] Command-line config: ['-vU', '--write-subs', '--cookies', '/home/user/downloads/twitter.com_cookies.txt', 'https://twitter.com/i/spaces/1YqJDoZPqnoGV']
[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.07.06 [b532a3481] (pip)
[debug] Python 3.8.10 (CPython x86_64 64bit) - Linux-5.4.0-156-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.9.8, brotli-None, certifi-2022.06.15.1, mutagen-1.45.1, pyxattr-0.6.1, secretstorage-2.3.1, sqlite3-2.6.0, websockets-10.0
[debug] Proxy map: {}
[debug] Loaded 1855 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Available version: stable@2023.07.06, Current version: stable@2023.07.06
yt-dlp is up to date (stable@2023.07.06)
[twitter:spaces] Extracting URL: https://twitter.com/i/spaces/1YqJDoZPqnoGV
[twitter:spaces] 1YqJDoZPqnoGV: Downloading GraphQL JSON
[twitter:spaces] 28_1692716275036995584: Downloading legacy API JSON
[twitter:spaces] 28_1692716275036995584: Downloading m3u8 information
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, size, br, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] 1YqJDoZPqnoGV: Downloading 1 format(s): 0
[info] There are no subtitles for the requested languages
[debug] Invoking hlsnative downloader on "https://prod-fastly-us-east-1.video.pscp.tv/Transcoding/v1/hls/AiulvwWgUDecRmIf2yLIQaX0IZRm4uoxqn_cDIdSD8GPSVrxjt9rYkmT1NeIIDye_sVvzS7K_QVCdfCHJzuLYA/non_transcode/us-east-1/periscope-replay-direct-prod-us-east-1-public/audio-space/playlist_16754321782906005421.m3u8?type=replay"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 4098
[download] Destination: Retro Modding and Gaming Chat 18-8-2023 [1YqJDoZPqnoGV].m4a
[download]   0.6% of ~ 145.12MiB at   98.97KiB/s ETA 24:44 (frag 25/4098)^C
ERROR: Interrupted by user
user@linuxpc1:~$
```