aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/nba.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/extractor/nba.py b/youtube_dl/extractor/nba.py
index 5a3eb0833..9f99dbf36 100644
--- a/youtube_dl/extractor/nba.py
+++ b/youtube_dl/extractor/nba.py
@@ -84,9 +84,9 @@ class NBAIE(InfoExtractor):
mobj = re.search(r'(\d+)x(\d+)(?:_(\d+))?', key)
if mobj:
format_info.update({
- 'width': int_or_none(mobj.group(1)),
- 'height': int_or_none(mobj.group(2)),
- 'tbr': int_or_none(mobj.group(3)),
+ 'width': int(mobj.group(1)),
+ 'height': int(mobj.group(2)),
+ 'tbr': int(mobj.group(3)),
})
formats.append(format_info)
self._sort_formats(formats)