mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-18 01:06:49 +01:00
[nba] use int_or_none for tbr
This commit is contained in:
parent
0017486dca
commit
51c4fec0d5
@ -86,7 +86,7 @@ class NBAIE(InfoExtractor):
|
|||||||
format_info.update({
|
format_info.update({
|
||||||
'width': int(mobj.group(1)),
|
'width': int(mobj.group(1)),
|
||||||
'height': int(mobj.group(2)),
|
'height': int(mobj.group(2)),
|
||||||
'tbr': int(mobj.group(3)),
|
'tbr': int_or_none(mobj.group(3)),
|
||||||
})
|
})
|
||||||
formats.append(format_info)
|
formats.append(format_info)
|
||||||
self._sort_formats(formats)
|
self._sort_formats(formats)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user