[ie/odnoklassniki] Fix boosty direct link extraction (#17749)

Fix 51bab8a011

Authored by: bashonly
This commit is contained in:
bashonly authored and GitHub committed 2026-10-23 15:18:52 +00:00
1 parent 9b58cb33d0
commit fa9886678e
1 file changed
+1 -1
+1 -1
View File
@@ -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</div>' in webpage: