aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorremitamine <remitamine@gmail.com>2015-12-05 21:04:22 +0100
committerremitamine <remitamine@gmail.com>2015-12-05 21:04:22 +0100
commit51c4fec0d58af709a06bd75338b23eace412362f (patch)
tree671e87e3f88cfeac048da9465f9a9789f3149606 /youtube_dl/extractor
parent0017486dcab67583db7896a9d754b195bcee3bad (diff)
[nba] use int_or_none for tbr
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/nba.py2
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)