1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-23 00:54:31 +01:00

[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 @@ class PBSIE(InfoExtractor):
'id': video_id, 'id': video_id,
'display_id': display_id, 'display_id': display_id,
'title': info['title'], 'title': info['title'],
'description': info['program'].get('description'), 'description': info.get('description') or info.get('program', {}).get('description'),
'thumbnail': info.get('image_url'), 'thumbnail': info.get('image_url'),
'duration': int_or_none(info.get('duration')), 'duration': int_or_none(info.get('duration')),
'age_limit': age_limit, 'age_limit': age_limit,