1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[extractor] Standardize _live_title

This commit is contained in:
pukkandan
2021-12-15 21:30:46 +05:30
parent 46383212b3
commit 39ca3b5c7f
67 changed files with 68 additions and 94 deletions

View File

@ -29,7 +29,7 @@ class RadioDeIE(InfoExtractor):
webpage, 'broadcast')
broadcast = self._parse_json(jscode, radio_id)
title = self._live_title(broadcast['name'])
title = broadcast['name']
description = broadcast.get('description') or broadcast.get('shortDescription')
thumbnail = broadcast.get('picture4Url') or broadcast.get('picture4TransUrl') or broadcast.get('logo100x100')