Przeglądaj źródła

Make tbr field 'int' rather than 'tuple'

Closes #9180.
aystroganov@gmail.com 9 lat temu
rodzic
commit
8334637f4a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      youtube_dl/extractor/brightcove.py

+ 1 - 1
youtube_dl/extractor/brightcove.py

@@ -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,