aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorSlava Shklyaev <shk.slava@gmail.com>2015-06-02 18:17:33 +0300
committerSlava Shklyaev <shk.slava@gmail.com>2015-06-02 18:30:25 +0300
commitb0cda32f726443d464a68a34b22a2e02ef8b29b0 (patch)
tree3471f888141561ab04a45356f319c85939c7c568 /youtube_dl
parent08b7968e2873b45dafe465ec04541db8fcd4967d (diff)
[nova] Fix Python 2.6 compatability issue
Diffstat (limited to 'youtube_dl')
-rw-r--r--youtube_dl/extractor/nova.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 8360a65d9..7e3498eea 100644
--- a/youtube_dl/extractor/nova.py
+++ b/youtube_dl/extractor/nova.py
@@ -141,7 +141,7 @@ class NovaIE(InfoExtractor):
mediafile = config['mediafile']
video_url = mediafile['src']
ext = determine_ext(video_url)
- video_url = video_url.replace('&{}:'.format(ext), '')
+ video_url = video_url.replace('&%s:' % ext, '')
title = mediafile.get('meta', {}).get('title') or self._og_search_title(webpage)
description = clean_html(self._og_search_description(webpage, default=None))