mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-11 05:37:17 +08:00
Merge branch 'ok-drop-emmbedded'
This commit is contained in:
commit
57c71c99e3
@ -867,6 +867,7 @@ class YoutubeDL(object):
|
|||||||
ie_key=ie_result.get('ie_key'),
|
ie_key=ie_result.get('ie_key'),
|
||||||
extra_info=extra_info)
|
extra_info=extra_info)
|
||||||
elif result_type == 'url_transparent':
|
elif result_type == 'url_transparent':
|
||||||
|
|
||||||
# Use the information from the embedding page
|
# Use the information from the embedding page
|
||||||
info = self.extract_info(
|
info = self.extract_info(
|
||||||
ie_result['url'], ie_key=ie_result.get('ie_key'),
|
ie_result['url'], ie_key=ie_result.get('ie_key'),
|
||||||
|
@ -254,10 +254,11 @@ class OdnoklassnikiIE(InfoExtractor):
|
|||||||
if provider == 'USER_YOUTUBE':
|
if provider == 'USER_YOUTUBE':
|
||||||
info.update({
|
info.update({
|
||||||
'_type': 'url_transparent',
|
'_type': 'url_transparent',
|
||||||
'url': movie['contentId'],
|
'url': 'https://www.youtube.com/watch?v=%s' % movie['contentId'],
|
||||||
})
|
})
|
||||||
return info
|
return info
|
||||||
|
|
||||||
|
|
||||||
assert title
|
assert title
|
||||||
if 'LIVE_TV' in provider:
|
if 'LIVE_TV' in provider:
|
||||||
info['title'] = self._live_title(title)
|
info['title'] = self._live_title(title)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user