[ok.ru] Drop embedded videos.

This commit is contained in:
Avi Peretz 2019-07-21 10:58:11 +03:00
parent 52fd1b5003
commit f46186f960

View File

@ -252,11 +252,14 @@ class OdnoklassnikiIE(InfoExtractor):
}
if provider == 'USER_YOUTUBE':
"""
info.update({
'_type': 'url_transparent',
'url': movie['contentId'],
})
return info
"""
raise ExtractorError('This video is embedded from YouTube.', expected=True)
assert title
if 'LIVE_TV' in provider: