This website works better with JavaScript.
Home
Help
Sign In
zolfa
/
youtube-dl
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
1.1k
Wiki
Activity
Browse Source
[nba] use int_or_none for tbr
totalwebcasting
remitamine
9 years ago
parent
0017486dca
commit
51c4fec0d5
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
youtube_dl/extractor/nba.py
+ 1
- 1
youtube_dl/extractor/nba.py
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
)
Write
Preview
Loading…
Cancel
Save