浏览代码

[vk] Update test

Sergey M․ 11 年之前
父节点
当前提交
fbe8053120
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      youtube_dl/extractor/vk.py

+ 2 - 2
youtube_dl/extractor/vk.py

@@ -37,7 +37,7 @@ class VKIE(InfoExtractor):
             'info_dict': {
             'info_dict': {
                 'id': '163339118',
                 'id': '163339118',
                 'ext': 'mp4',
                 'ext': 'mp4',
-                'uploader': 'Elvira Dzhonik',
+                'uploader': 'Elya Iskhakova',
                 'title': 'Dream Theater - Hollow Years Live at Budokan 720*',
                 'title': 'Dream Theater - Hollow Years Live at Budokan 720*',
                 'duration': 558,
                 'duration': 558,
             }
             }
@@ -108,7 +108,7 @@ class VKIE(InfoExtractor):
 
 
         m_yt = re.search(r'src="(http://www.youtube.com/.*?)"', info_page)
         m_yt = re.search(r'src="(http://www.youtube.com/.*?)"', info_page)
         if m_yt is not None:
         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')
             return self.url_result(m_yt.group(1), 'Youtube')
         data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
         data_json = self._search_regex(r'var vars = ({.*?});', info_page, 'vars')
         data = json.loads(data_json)
         data = json.loads(data_json)