mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
parent
f3c0c77304
commit
e3aae45a6f
@ -69,7 +69,7 @@ def _extract_format(self, video_id, formats, format_urls, meta):
|
|||||||
f.update({
|
f.update({
|
||||||
'url': format_url,
|
'url': format_url,
|
||||||
'format_id': join_nonempty('http', meta.get('type'), meta.get('quality')),
|
'format_id': join_nonempty('http', meta.get('type'), meta.get('quality')),
|
||||||
'tbr': int_or_none(self._search_regex(r'_(\d+)k_', format_url, default=None))
|
'tbr': int_or_none(self._search_regex(r'_(\d+)k_', format_url, 'tbr', default=None))
|
||||||
})
|
})
|
||||||
new_formats = [f]
|
new_formats = [f]
|
||||||
formats.extend(merge_dicts(f, {
|
formats.extend(merge_dicts(f, {
|
||||||
|
Loading…
Reference in New Issue
Block a user