[extractor/common] Remove f4m section
authorSergey M․ <dstftw@gmail.com>
Sat, 4 Apr 2015 17:05:25 +0000 (23:05 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 4 Apr 2015 17:05:25 +0000 (23:05 +0600)
It's now provided by `f4m_id`

youtube_dl/extractor/common.py

index e5245ec3f29eb914b4a311bdf5f3c735e32d2f61..530c449c1b48e48d0f8fcf4e7223bff9d60138b1 100644 (file)
@@ -822,7 +822,7 @@ class InfoExtractor(object):
                                 (media_el.attrib.get('href') or media_el.attrib.get('url')))
             tbr = int_or_none(media_el.attrib.get('bitrate'))
             formats.append({
-                'format_id': '-'.join(filter(None, [f4m_id, 'f4m-%d' % (i if tbr is None else tbr)])),
+                'format_id': '-'.join(filter(None, [f4m_id, compat_str(i if tbr is None else tbr)])),
                 'url': manifest_url,
                 'ext': 'flv',
                 'tbr': tbr,