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

Authored by: pzhlkj6612
pull/9636/head
Mozi 8 months ago committed by GitHub
parent 9415f1a5ef
commit f2fd449b46
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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)

Loading…
Cancel
Save