From: Sergey M․ Date: Thu, 11 Feb 2016 15:24:07 +0000 (+0600) Subject: [pbs] Improve description extraction X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=b14d5e26f6c5c63f8de600e5159bf9cf12813e8b;p=youtube-dl [pbs] Improve description extraction --- 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,