diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-12 09:00:21 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-12 09:00:21 +0530 |
commit | ed8d87f911585060faf4df5295fa9ad5bf46c380 (patch) | |
tree | f56305dd821a2e9246ddbbe1e94e1736854e8589 /yt_dlp/extractor/twitcasting.py | |
parent | 397235c52bd9dc0e7f993e83b9301d981690c02f (diff) | |
download | hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.tar.lz hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.tar.xz hypervideo-pre-ed8d87f911585060faf4df5295fa9ad5bf46c380.zip |
[cleanup, docs] Minor fixes
Closes #2230
Diffstat (limited to 'yt_dlp/extractor/twitcasting.py')
-rw-r--r-- | yt_dlp/extractor/twitcasting.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/twitcasting.py b/yt_dlp/extractor/twitcasting.py index ef1e871cf..c3e058709 100644 --- a/yt_dlp/extractor/twitcasting.py +++ b/yt_dlp/extractor/twitcasting.py @@ -99,7 +99,7 @@ class TwitCastingIE(InfoExtractor): 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: |