[ie/joqrag] Fix live status detection (#9624)

Authored by: pzhlkj6612
This commit is contained in:
Mozi 2024-04-06 17:34:51 +00:00 committed by GitHub
parent 9415f1a5ef
commit f2fd449b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ class JoqrAgIE(InfoExtractor):
note='Downloading metadata', errnote='Failed to download metadata') note='Downloading metadata', errnote='Failed to download metadata')
title = self._extract_metadata('Program_name', metadata) title = self._extract_metadata('Program_name', metadata)
if title == '放送休止': if not title or title == '放送休止':
formats = [] formats = []
live_status = 'is_upcoming' live_status = 'is_upcoming'
release_timestamp = self._extract_start_timestamp(video_id, False) release_timestamp = self._extract_start_timestamp(video_id, False)