projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f7282
)
[pbs] Add `format_id` for direct links
author
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:31:25 +0000
(21:31 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 6 May 2015 15:31:25 +0000
(21:31 +0600)
youtube_dl/extractor/pbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pbs.py
b/youtube_dl/extractor/pbs.py
index 761bd6d8dcaa7bcabe4181e691ce4607b1736a07..143a7669639770e0cdfddc55e0b9395893301736 100644
(file)
--- 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)