0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-17 01:25:11 +00: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 @@ 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,