Browse Source

Make tbr field 'int' rather than 'tuple'

Closes #9180.
totalwebcasting
aystroganov@gmail.com 9 years ago
committed by Jaime Marquínez Ferrándiz
parent
commit
8334637f4a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/brightcove.py

+ 1
- 1
youtube_dl/extractor/brightcove.py View File

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


Loading…
Cancel
Save