[pbs] Improve description extraction

This commit is contained in:
Sergey M․ 2016-02-11 21:24:07 +06:00
parent 9a61dfba0c
commit b14d5e26f6

View file

@ -507,7 +507,7 @@ def _real_extract(self, url):
'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,