1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-22 18:22:21 +00:00

[viki] Fix typo

This commit is contained in:
Sergey M․ 2015-05-21 02:38:43 +06:00
parent d01924f488
commit 4d8ee01389

View file

@ -157,7 +157,7 @@ class VikiIE(VikiBaseIE):
title = 'Episode %d' % video.get('number') if video.get('type') == 'episode' else video.get('id') or video_id
container_titles = video.get('container', {}).get('titles')
if container_titles:
container_title = container_titles.get('en') or container_titles[titles.keys()[0]]
container_title = container_titles.get('en') or container_titles[container_titles.keys()[0]]
title = '%s - %s' % (container_title, title)
descriptions = video.get('descriptions')