From: remitamine Date: Sat, 5 Dec 2015 20:04:22 +0000 (+0100) Subject: [nba] use int_or_none for tbr X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=51c4fec0d58af709a06bd75338b23eace412362f;p=youtube-dl [nba] use int_or_none for tbr --- 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)