mirror of https://github.com/blackjack4494/yt-dlc
[pbs] Improve description extraction
This commit is contained in:
parent
9a61dfba0c
commit
b14d5e26f6
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue