summary refs log tree commit diff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-11 21:24:07 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-11 21:28:09 +0600
commitb14d5e26f6c5c63f8de600e5159bf9cf12813e8b (patch)
treee926074df3aad517e8636206c21565ba950a7c65
parent9a61dfba0cfb9b978278fe2e1c823c205fcd72dd (diff)
downloadyoutube-dl-b14d5e26f6c5c63f8de600e5159bf9cf12813e8b.tar.gz
youtube-dl-b14d5e26f6c5c63f8de600e5159bf9cf12813e8b.tar.xz
youtube-dl-b14d5e26f6c5c63f8de600e5159bf9cf12813e8b.zip
[pbs] Improve description extraction
-rw-r--r--youtube_dl/extractor/pbs.py2
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,