From b0cda32f726443d464a68a34b22a2e02ef8b29b0 Mon Sep 17 00:00:00 2001 From: Slava Shklyaev Date: Tue, 2 Jun 2015 18:17:33 +0300 Subject: [PATCH] [nova] Fix Python 2.6 compatability issue --- youtube_dl/extractor/nova.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.39.5