Make tbr field 'int' rather than 'tuple'
authoraystroganov@gmail.com <aystroganov@gmail.com>
Wed, 13 Apr 2016 11:30:32 +0000 (21:30 +1000)
committerJaime Marquínez Ferrándiz <jaime.marquinez.ferrandiz@gmail.com>
Wed, 13 Apr 2016 12:29:34 +0000 (14:29 +0200)
Closes #9180.

youtube_dl/extractor/brightcove.py

index c718cf38509507ce6f314571dd59444ae4f3c647..f0781fc273a18ec30c1ffa97546232d991ad8574 100644 (file)
@@ -340,7 +340,7 @@ class BrightcoveLegacyIE(InfoExtractor):
                         ext = 'flv'
                 if ext is None:
                     ext = determine_ext(url)
-                tbr = int_or_none(rend.get('encodingRate'), 1000),
+                tbr = int_or_none(rend.get('encodingRate'), 1000)
                 a_format = {
                     'format_id': 'http%s' % ('-%s' % tbr if tbr else ''),
                     'url': url,