mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-10-25 22:26:51 +09:00
[ie/odnoklassniki] Fix boosty direct link extraction (#17749)
Fix 51bab8a011
Authored by: bashonly
This commit is contained in:
1 parent
9b58cb33d0
commit
fa9886678e
1 file changed
+1
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user