diff options
author | remitamine <[email protected]> | 2015-12-05 21:04:22 +0100 |
---|---|---|
committer | remitamine <[email protected]> | 2015-12-05 21:04:22 +0100 |
commit | 51c4fec0d58af709a06bd75338b23eace412362f (patch) | |
tree | 671e87e3f88cfeac048da9465f9a9789f3149606 /youtube_dl/extractor/nba.py | |
parent | 0017486dcab67583db7896a9d754b195bcee3bad (diff) | |
download | youtube-dl-51c4fec0d58af709a06bd75338b23eace412362f.tar.gz youtube-dl-51c4fec0d58af709a06bd75338b23eace412362f.zip |
[nba] use int_or_none for tbr
Diffstat (limited to 'youtube_dl/extractor/nba.py')
-rw-r--r-- | youtube_dl/extractor/nba.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nba.py b/youtube_dl/extractor/nba.py index 9f99dbf36..7c6b7841d 100644 --- a/youtube_dl/extractor/nba.py +++ b/youtube_dl/extractor/nba.py @@ -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) |