projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0017486
)
[nba] use int_or_none for tbr
author
remitamine
<remitamine@gmail.com>
Sat, 5 Dec 2015 20:04:22 +0000
(21:04 +0100)
committer
remitamine
<remitamine@gmail.com>
Sat, 5 Dec 2015 20:04:22 +0000
(21:04 +0100)
youtube_dl/extractor/nba.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nba.py
b/youtube_dl/extractor/nba.py
index 9f99dbf362310228a138a15c000a937ab3b905d5..7c6b7841db251d3ee2178de680e60cbb6900b0fc 100644
(file)
--- 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)