aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-06 21:31:25 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-06 21:31:25 +0600
commite8b9ab8957084d1b7ab60f14574e5d14d9417909 (patch)
tree4c7f0d4a4f468996bf271e88162d33e37e45e552 /youtube_dl/extractor
parent74f728249fcf58b0c99eb69606b04b304d882423 (diff)
[pbs] Add `format_id` for direct links
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/pbs.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py
index 761bd6d8d..143a76696 100644
--- a/youtube_dl/extractor/pbs.py
+++ b/youtube_dl/extractor/pbs.py
@@ -187,6 +187,7 @@ class PBSIE(InfoExtractor):
else:
formats.append({
'url': format_url,
+ 'format_id': redirect.get('eeid'),
})
self._sort_formats(formats)