[extractor/zdf] Fix bug in 62b2b736e7

Closes #4061
This commit is contained in:
pukkandan 2022-06-13 19:13:59 +05:30
parent f3c0c77304
commit e3aae45a6f
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

View File

@ -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, {