From 1dd3d4190d45b0de879d52ba1331718273ca2c44 Mon Sep 17 00:00:00 2001 From: JChris246 Date: Sat, 15 Mar 2025 17:52:00 -0400 Subject: [PATCH] refactor: use UserNotLive error when offline --- yt_dlp/extractor/myfreecams.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/myfreecams.py b/yt_dlp/extractor/myfreecams.py index 1b802c290e..c6817eeb39 100644 --- a/yt_dlp/extractor/myfreecams.py +++ b/yt_dlp/extractor/myfreecams.py @@ -1,5 +1,5 @@ from .common import InfoExtractor -from ..utils import ExtractorError +from ..utils import ExtractorError, UserNotLive class MyFreeCamsIE(InfoExtractor): @@ -87,7 +87,7 @@ def _real_extract(self, url): params = self.get_required_params(webpage) if not params['sid']: - raise ExtractorError('Model offline') + raise UserNotLive('Model offline') return { 'id': video_id,