projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d01924f
)
[viki] Fix typo
author
Sergey M․
<dstftw@gmail.com>
Wed, 20 May 2015 20:38:43 +0000
(
02:38
+0600)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 20 May 2015 20:38:43 +0000
(
02:38
+0600)
youtube_dl/extractor/viki.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viki.py
b/youtube_dl/extractor/viki.py
index 3acb481f925c3f767df6e01045ee92d964893dd5..0ec8ef0ef9bec36e11bec0e3274c7d3b921575d8 100644
(file)
--- 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:
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')
title = '%s - %s' % (container_title, title)
descriptions = video.get('descriptions')