aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2016-02-08 21:30:23 +0600
committerSergey M․ <dstftw@gmail.com>2016-02-08 21:30:23 +0600
commit35972ba17214608d8929d6532831abf7402afcf8 (patch)
tree16ed7854d06500218ea5cb873aa0d52e3dfbb39a
parent3834d3e35c5ccd957a3bc7bb1c12607f9d96ccbd (diff)
[vk] Improve rutube embeds detection (Closes #8461)
-rw-r--r--youtube_dl/extractor/vk.py2
1 files changed, 1 insertions, 1 deletions
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('\\', ''))