1
0
Fork 0
mirror of https://codeberg.org/polarisfm/youtube-dl.git synced 2024-12-26 17:46:45 +00:00

[nba] use int_or_none for tbr

This commit is contained in:
remitamine 2015-12-05 21:04:22 +01:00
parent 0017486dca
commit 51c4fec0d5

View file

@ -86,7 +86,7 @@ class NBAIE(InfoExtractor):
format_info.update({
'width': int(mobj.group(1)),
'height': int(mobj.group(2)),
'tbr': int(mobj.group(3)),
'tbr': int_or_none(mobj.group(3)),
})
formats.append(format_info)
self._sort_formats(formats)