[pbs] Add `format_id` for direct links
authorSergey M․ <dstftw@gmail.com>
Wed, 6 May 2015 15:31:25 +0000 (21:31 +0600)
committerSergey M․ <dstftw@gmail.com>
Wed, 6 May 2015 15:31:25 +0000 (21:31 +0600)
youtube_dl/extractor/pbs.py

index 761bd6d8dcaa7bcabe4181e691ce4607b1736a07..143a7669639770e0cdfddc55e0b9395893301736 100644 (file)
@@ -187,6 +187,7 @@ class PBSIE(InfoExtractor):
             else:
                 formats.append({
                     'url': format_url,
+                    'format_id': redirect.get('eeid'),
                 })
         self._sort_formats(formats)