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

@ -88,7 +88,7 @@ class ImgGamingBaseIE(InfoExtractor):
video_data = self._download_json(dve_api_url, media_id)
is_live = media_type == 'live'
if is_live:
title = self._live_title(self._call_api('event/', media_id)['title'])
title = self._call_api('event/', media_id)['title']
else:
title = video_data['name']