projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3834d3e
)
[vk] Improve rutube embeds detection (Closes #8461)
author
Sergey M․
<dstftw@gmail.com>
Mon, 8 Feb 2016 15:30:23 +0000
(21:30 +0600)
committer
Sergey M․
<dstftw@gmail.com>
Mon, 8 Feb 2016 15:30:23 +0000
(21:30 +0600)
youtube_dl/extractor/vk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vk.py
b/youtube_dl/extractor/vk.py
index 11014865ade2624d2bf745459090c55ee907a6f0..0805e3c083937d7f58acbe4b872d41c19f8d1c02 100644
(file)
--- 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('\\', ''))