From b3b0520c8294bc702bab57a7823f76ac6fd206aa Mon Sep 17 00:00:00 2001 From: dirkf Date: Wed, 15 Feb 2023 00:24:38 +0000 Subject: [PATCH] Update Based on yt-dlp/yt-dlp 051d6b4 merging [extractor/arte] yt-dlp/yt-dlp#3302: Move to v2 API Authored by: fstirlitz, pukkandan --- youtube_dl/extractor/arte.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/youtube_dl/extractor/arte.py b/youtube_dl/extractor/arte.py index e6f72852e..106b9c480 100644 --- a/youtube_dl/extractor/arte.py +++ b/youtube_dl/extractor/arte.py @@ -50,10 +50,12 @@ class ArteTVIE(ArteTVBaseIE): 'title': 'USA: Dyskryminacja na porodówce', 'description': 'md5:242017b7cce59ffae340a54baefcafb1', 'alt_title': 'ARTE Reportage', + 'timestamp': 1604417980, 'upload_date': '20201103', 'duration': 554, + # test format sort + 'height': 720, 'thumbnail': r're:https://api-cdn\.arte\.tv/.+940x530', - 'timestamp': 1604417980, 'ext': 'mp4', }, 'params': { @@ -205,6 +207,7 @@ class ArteTVIE(ArteTVBaseIE): formats.extend(secondary_formats) self._remove_duplicate_formats(formats) + self._sort_formats(formats) metadata = config['data']['attributes']['metadata']