Skip to content

A feature-rich command-line audio/video downloader

[nova] Fix Python 2.6 compatability issue

Slava Shklyaevb0cda32f7264
diff --git a/youtube_dl/extractor/nova.py b/youtube_dl/extractor/nova.py
index 8360a65d9f..7e3498eea5 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))