aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-21 02:38:43 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-21 02:38:43 +0600
commit4d8ee01389c4229f14fad45f0aa7b033a2509aef (patch)
tree1f9870823325122c9c572bb30bf68e5145e8d4f2 /youtube_dl
parentd01924f48810db69d572bc121ab98021f04ac957 (diff)
[viki] Fix typo
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/viki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/viki.py b/youtube_dl/extractor/viki.py
index 3acb481f9..0ec8ef0ef 100644
--- a/youtube_dl/extractor/viki.py
+++ b/youtube_dl/extractor/viki.py
@@ -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')