Repository: yt-dlp
Issue: [ARTE] Add additional metadata
Labels: site-enhancement,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 requesting a site-specific feature
- [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 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

Germany

### Example URLs

https://www.arte.tv/de/videos/116705-090-A/mit-offenen-karten-im-fokus
https://api.arte.tv/api/player/v2/config/de/116705-090-A

### Provide a description that is worded well enough to be understood

Please add the following metadata fields to videos downloaded from ARTE using the existing API V2:
`https://api.arte.tv/api/player/v2/config/de/`

From the attribute "push":
**"category"**: like "ACT_aktuelles-und-gesellschaft", "CIN_kino", DEC_entdeckung-der-welt Et cetera
**"subcategory"**: more precise one like "DCY_hintergrund", "FLM_filme", "NEA_natur-und-tiere" Et cetera
**"genre"**:  general one like "2_filme", "1_dokus-und-reportagen" Et cetera

With the additional metadata it would be possible to create the filenames like:
ARTE_**Hintergrund**--Mit offenen Karten - Im Fokus - Iran： Reformer Peseschkian？--116705-090-A_2024-09-18_Deutsch_de_1920x1080_2485
or ARTE_**Aktuelles und Gesellschaft**--Mit offenen Karten - Im Fokus - Iran： Reformer Peseschkian？--116705-090-A_2024-09-18_Deutsch_de_1920x1080_2485
or ARTE_**Dokus und Reportagen**--Mit offenen Karten - Im Fokus - Iran： Reformer Peseschkian？--116705-090-A_2024-09-18_Deutsch_de_1920x1080_2485

instead of ARTE--Mit offenen Karten - Im Fokus - Iran： Reformer Peseschkian？--116705-090-A_2024-09-18_Deutsch_de_1920x1080_2485




### 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.arte.tv/de/videos/116705-090-A/mit-offenen-karten-im-fokus
[debug] Command-line config: ['-vU', 'https://www.arte.tv/de/videos/116705-090-A/mit-offenen-karten-im-fokus']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version nightly@2024.09.24.232842 from yt-dlp/yt-dlp-nightly-builds [fa2be9a7c] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.22631-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: ffmpeg N-112148-g035d187c4d-20230922 (setts), ffprobe N-112148-g035d187c4d-20230922
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.08.30, curl_cffi-0.5.10, mutagen-1.47.0, requests-2.32.3, sqlite3-3.35.5, urllib3-2.2.3, websockets-13.1
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets, curl_cffi
[debug] Loaded 1835 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp-nightly-builds/releases/latest
Latest version: nightly@2024.09.24.232842 from yt-dlp/yt-dlp-nightly-builds
yt-dlp is up to date (nightly@2024.09.24.232842 from yt-dlp/yt-dlp-nightly-builds)
[ArteTV] Extracting URL: https://www.arte.tv/de/videos/116705-090-A/mit-offenen-karten-im-fokus
[ArteTV] 116705-090-A: Downloading JSON metadata
[ArteTV] 116705-090-A: 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] 116705-090-A: Downloading 1 format(s): VA-2485+VA-audio_0-Deutsch__Klare_Sprache_
[debug] Invoking hlsnative downloader on "https://arte-cmafhls.akamaized.net/am/cmaf/116000/116700/116705-090-B/2024091718F8BCA45C94569FF6335CA8B642A73FA2/medias/116705-090-B_v1080.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 35
[download] Destination: Iran： Reformer Peseschkian？ [116705-090-A].fVA-2485.mp4
[debug] File locking is not supported. Proceeding without locking
[download] 100% of   59.08MiB in 00:00:21 at 2.69MiB/s
[debug] Invoking hlsnative downloader on "https://arte-cmafhls.akamaized.net/am/cmaf/116000/116700/116705-090-B/2024091718F8BCA45C94569FF6335CA8B642A73FA2/medias/116705-090-B_aud_VA-ALL_1_CA.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 36
[download] Destination: Iran： Reformer Peseschkian？ [116705-090-A].fVA-audio_0-Deutsch__Klare_Sprache_.mp4
[download] 100% of    3.23MiB in 00:00:10 at 309.83KiB/s
[debug] ffmpeg command line: ffprobe -show_streams "file:Iran： Reformer Peseschkian？ [116705-090-A].fVA-audio_0-Deutsch__Klare_Sprache_.mp4"
[Merger] Merging formats into "Iran： Reformer Peseschkian？ [116705-090-A].mp4"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i "file:Iran： Reformer Peseschkian？ [116705-090-A].fVA-2485.mp4" -i "file:Iran： Reformer Peseschkian？ [116705-090-A].fVA-audio_0-Deutsch__Klare_Sprache_.mp4" -c copy -map 0:v:0 -map 1:a:0 -bsf:a:0 aac_adtstoasc -movflags +faststart "file:Iran： Reformer Peseschkian？ [116705-090-A].temp.mp4"
Deleting original file Iran： Reformer Peseschkian？ [116705-090-A].fVA-audio_0-Deutsch__Klare_Sprache_.mp4 (pass -k to keep)
Deleting original file Iran： Reformer Peseschkian？ [116705-090-A].fVA-2485.mp4 (pass -k to keep)
```