mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 01:08:10 +00:00
Update
Based on yt-dlp/yt-dlp 051d6b4 merging [extractor/arte] yt-dlp/yt-dlp#3302: Move to v2 API Authored by: fstirlitz, pukkandan
This commit is contained in:
parent
cdcb4af1c3
commit
b3b0520c82
1 changed files with 4 additions and 1 deletions
|
@ -50,10 +50,12 @@ class ArteTVIE(ArteTVBaseIE):
|
||||||
'title': 'USA: Dyskryminacja na porodówce',
|
'title': 'USA: Dyskryminacja na porodówce',
|
||||||
'description': 'md5:242017b7cce59ffae340a54baefcafb1',
|
'description': 'md5:242017b7cce59ffae340a54baefcafb1',
|
||||||
'alt_title': 'ARTE Reportage',
|
'alt_title': 'ARTE Reportage',
|
||||||
|
'timestamp': 1604417980,
|
||||||
'upload_date': '20201103',
|
'upload_date': '20201103',
|
||||||
'duration': 554,
|
'duration': 554,
|
||||||
|
# test format sort
|
||||||
|
'height': 720,
|
||||||
'thumbnail': r're:https://api-cdn\.arte\.tv/.+940x530',
|
'thumbnail': r're:https://api-cdn\.arte\.tv/.+940x530',
|
||||||
'timestamp': 1604417980,
|
|
||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
|
@ -205,6 +207,7 @@ class ArteTVIE(ArteTVBaseIE):
|
||||||
|
|
||||||
formats.extend(secondary_formats)
|
formats.extend(secondary_formats)
|
||||||
self._remove_duplicate_formats(formats)
|
self._remove_duplicate_formats(formats)
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
metadata = config['data']['attributes']['metadata']
|
metadata = config['data']['attributes']['metadata']
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue