mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 17:02:30 +00:00
fix swrmediathek for new formats.
This commit is contained in:
parent
c2b61af548
commit
d6fdc38682
@ -80,7 +80,7 @@ def _real_extract(self, url):
|
|||||||
|
|
||||||
if media_type == 'Video':
|
if media_type == 'Video':
|
||||||
fmt.update({
|
fmt.update({
|
||||||
'format_note': ['144p', '288p', '544p'][quality-1],
|
'format_note': ['144p', '288p', '544p', '720p'][quality-1],
|
||||||
'vcodec': codec,
|
'vcodec': codec,
|
||||||
})
|
})
|
||||||
elif media_type == 'Audio':
|
elif media_type == 'Audio':
|
||||||
@ -101,4 +101,4 @@ def _real_extract(self, url):
|
|||||||
'uploader': attr['channel_title'],
|
'uploader': attr['channel_title'],
|
||||||
'uploader_id': attr['channel_idkey'],
|
'uploader_id': attr['channel_idkey'],
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user