From: Sergey M․ Date: Mon, 8 Feb 2016 15:30:23 +0000 (+0600) Subject: [vk] Improve rutube embeds detection (Closes #8461) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=35972ba17214608d8929d6532831abf7402afcf8;p=youtube-dl [vk] Improve rutube embeds detection (Closes #8461) --- diff --git a/youtube_dl/extractor/vk.py b/youtube_dl/extractor/vk.py index 11014865a..0805e3c08 100644 --- a/youtube_dl/extractor/vk.py +++ b/youtube_dl/extractor/vk.py @@ -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('\\', ''))