]> jfr.im git - yt-dlp.git/blobdiff - yt_dlp/extractor/twitcasting.py
[cleanup, docs] Minor fixes
[yt-dlp.git] / yt_dlp / extractor / twitcasting.py
index ef1e871cf5d7a2c3c5038ed57d9ce64ae35c2b6e..c3e058709d6a696267640616a0c2b8b01ba8a853 100644 (file)
@@ -99,7 +99,7 @@ def _real_extract(self, url):
         is_live = 'data-status="online"' in webpage
 
         if not traverse_obj(stream_server_data, 'llfmp4') and is_live:
-            raise ExtractorError('You must be logged in to watch.', expected=True)
+            self.raise_login_required(method='cookies')
 
         formats = []
         if is_live and not m3u8_url: