aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLesmiscore <nao20010128@gmail.com>2022-04-19 11:06:55 +0900
committerLesmiscore <nao20010128@gmail.com>2022-04-19 11:06:55 +0900
commitfdfc8149e168ba769cd16b380287383491635d0e (patch)
tree155c411b66e1506d0be9a9cb9b4eada3cceef8a7
parent1e9969f4f517eab4077f0b03eee9ef3afa493486 (diff)
downloadhypervideo-pre-fdfc8149e168ba769cd16b380287383491635d0e.tar.lz
hypervideo-pre-fdfc8149e168ba769cd16b380287383491635d0e.tar.xz
hypervideo-pre-fdfc8149e168ba769cd16b380287383491635d0e.zip
[openrec:movie] Enable fallback for /movie/ URLs
Closes #3474
-rw-r--r--yt_dlp/extractor/openrec.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/yt_dlp/extractor/openrec.py b/yt_dlp/extractor/openrec.py
index 7546c12fb..6c1eb8f3a 100644
--- a/yt_dlp/extractor/openrec.py
+++ b/yt_dlp/extractor/openrec.py
@@ -35,8 +35,8 @@ class OpenRecBaseIE(InfoExtractor):
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,