From 0554d18f681ac3358b2a58b051307f69881053da Mon Sep 17 00:00:00 2001 From: Casaper Date: Wed, 24 Sep 2025 11:51:13 +0200 Subject: [PATCH] fix(arte): add required property url The info dict documentation lists url as a required property: ``` url: Final video URL. ``` https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/extractor/common.py#L281 The extractor should also return this property. Initially, I thought `webpage_url` would not be in the documentation, so I renamed `webpage_url` to `url`. Later, I learnt that there is also the optional property `webpage_url`. This is why I'm adding the required url and keeping `webpage_url` as is. --- yt_dlp/extractor/arte.py | 1 + 1 file changed, 1 insertion(+) diff --git a/yt_dlp/extractor/arte.py b/yt_dlp/extractor/arte.py index 3f17da463d..f28b520737 100644 --- a/yt_dlp/extractor/arte.py +++ b/yt_dlp/extractor/arte.py @@ -214,6 +214,7 @@ class ArteTVIE(ArteTVBaseIE): return { 'id': metadata['providerId'], + 'url': traverse_obj(metadata, ('link', 'url')), 'webpage_url': traverse_obj(metadata, ('link', 'url')), 'title': traverse_obj(metadata, 'subtitle', 'title'), 'alt_title': metadata.get('subtitle') and metadata.get('title'),