diff options
author | Sergey M․ <dstftw@gmail.com> | 2016-02-11 21:24:07 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2016-02-11 21:28:09 +0600 |
commit | b14d5e26f6c5c63f8de600e5159bf9cf12813e8b (patch) | |
tree | e926074df3aad517e8636206c21565ba950a7c65 /youtube_dl | |
parent | 9a61dfba0cfb9b978278fe2e1c823c205fcd72dd (diff) |
[pbs] Improve description extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/pbs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/pbs.py b/youtube_dl/extractor/pbs.py index 0d4d709de..0cdae6721 100644 --- 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, |