projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a61dfb
)
[pbs] Improve description extraction
author
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 15:24:07 +0000
(21:24 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Thu, 11 Feb 2016 15:28:09 +0000
(21:28 +0600)
youtube_dl/extractor/pbs.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pbs.py
b/youtube_dl/extractor/pbs.py
index 0d4d709de969dc30fc9e349c46b544e189f90390..0cdae67211c53d3cbbadae2915ca19c1b4d2d80b 100644
(file)
--- a/
youtube_dl/extractor/pbs.py
+++ b/
youtube_dl/extractor/pbs.py
@@
-507,7
+507,7
@@
class PBSIE(InfoExtractor):
'id': video_id,
'display_id': display_id,
'title': info['title'],
- 'description': info
['program']
.get('description'),
+ 'description': info
.get('description') or info.get('program', {})
.get('description'),
'thumbnail': info.get('image_url'),
'duration': int_or_none(info.get('duration')),
'age_limit': age_limit,