mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 09:01:43 +00:00
parent
f3c0c77304
commit
e3aae45a6f
@ -69,7 +69,7 @@ def _extract_format(self, video_id, formats, format_urls, meta):
|
||||
f.update({
|
||||
'url': format_url,
|
||||
'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]
|
||||
formats.extend(merge_dicts(f, {
|
||||
|
Loading…
Reference in New Issue
Block a user