From fa9886678eb65103303c627b8e013f13f8999b41 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Fri, 23 Oct 2026 10:18:52 -0500 Subject: [PATCH] [ie/odnoklassniki] Fix boosty direct link extraction (#17749) Fix 51bab8a0116f4d8004c315706d809782607d5847 Authored by: bashonly --- yt_dlp/extractor/odnoklassniki.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/odnoklassniki.py b/yt_dlp/extractor/odnoklassniki.py index 5083b64efa..95314f626a 100644 --- a/yt_dlp/extractor/odnoklassniki.py +++ b/yt_dlp/extractor/odnoklassniki.py @@ -235,7 +235,7 @@ class OdnoklassnikiIE(InfoExtractor): # Direct link from boosty if (error == 'The author of this video has not been found or is blocked' and not smuggled.get('referrer') and mode == 'videoembed'): - return self._extract_desktop(smuggle_url(url, {'referrer': 'https://boosty.to'})) + return self.url_result(smuggle_url(url, {'referrer': 'https://boosty.to'}), self) elif error: raise ExtractorError(error, expected=True) elif '>Access to this video is restricted' in webpage: