1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-12-30 21:52:51 +08:00

[vk] Improve rutube embeds detection (Closes #8461)

This commit is contained in:
Sergey M․ 2016-02-08 21:30:23 +06:00
parent 3834d3e35c
commit 35972ba172

View File

@ -265,7 +265,7 @@ class VKIE(InfoExtractor):
return self.url_result(pladform_url)
m_rutube = re.search(
r'\ssrc="((?:https?:)?//rutube\.ru\\?/video\\?/embed(?:.*?))\\?"', info_page)
r'\ssrc="((?:https?:)?//rutube\.ru\\?/(?:video|play)\\?/embed(?:.*?))\\?"', info_page)
if m_rutube is not None:
rutube_url = self._proto_relative_url(
m_rutube.group(1).replace('\\', ''))