projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b7d7359
)
[vk] Update test
author
Sergey M․
<dstftw@gmail.com>
Sun, 11 May 2014 09:43:59 +0000
(16:43 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Sun, 11 May 2014 09:43:59 +0000
(16:43 +0700)
youtube_dl/extractor/vk.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/vk.py
b/youtube_dl/extractor/vk.py
index 8b1432fec7f26d0482eb516347233277e982543b..fb082f36412bb714669e59d071bf609622a5cc56 100644
(file)
--- a/
youtube_dl/extractor/vk.py
+++ b/
youtube_dl/extractor/vk.py
@@
-37,7
+37,7
@@
class VKIE(InfoExtractor):
'info_dict': {
'id': '163339118',
'ext': 'mp4',
'info_dict': {
'id': '163339118',
'ext': 'mp4',
- 'uploader': 'El
vira Dzhonik
',
+ 'uploader': 'El
ya Iskhakova
',
'title': 'Dream Theater - Hollow Years Live at Budokan 720*',
'duration': 558,
}
'title': 'Dream Theater - Hollow Years Live at Budokan 720*',
'duration': 558,
}
@@
-108,7
+108,7
@@
class VKIE(InfoExtractor):
m_yt = re.search(r'src="(http://www.youtube.com/.*?)"', info_page)
if m_yt is not None:
m_yt = re.search(r'src="(http://www.youtube.com/.*?)"', info_page)
if m_yt is not None:
- self.to_screen(
u
'Youtube video detected')
+ self.to_screen('Youtube video detected')
return self.url_result(m_yt.group(1), 'Youtube')
data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
data = json.loads(data_json)
return self.url_result(m_yt.group(1), 'Youtube')
data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
data = json.loads(data_json)