mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-07 20:30:41 -05:00
parent
1e9969f4f5
commit
fdfc8149e1
1 changed files with 2 additions and 2 deletions
|
@ -35,8 +35,8 @@ def _extract_movie(self, webpage, video_id, name, is_live):
|
|||
raise ExtractorError(f'Failed to extract {name} info')
|
||||
|
||||
formats = list(self._expand_media(video_id, get_first(movie_stores, 'media')))
|
||||
if not formats and is_live:
|
||||
# archived livestreams
|
||||
if not formats:
|
||||
# archived livestreams or subscriber-only videos
|
||||
cookies = self._get_cookies('https://www.openrec.tv/')
|
||||
detail = self._download_json(
|
||||
f'https://apiv5.openrec.tv/api/v5/movies/{video_id}/detail', video_id,
|
||||
|
|
Loading…
Reference in a new issue