diff options
author | Slava Shklyaev <shk.slava@gmail.com> | 2015-06-02 18:17:33 +0300 |
---|---|---|
committer | Slava Shklyaev <shk.slava@gmail.com> | 2015-06-02 18:30:25 +0300 |
commit | b0cda32f726443d464a68a34b22a2e02ef8b29b0 (patch) | |
tree | 3471f888141561ab04a45356f319c85939c7c568 /youtube_dl/extractor/nova.py | |
parent | 08b7968e2873b45dafe465ec04541db8fcd4967d (diff) |
[nova] Fix Python 2.6 compatability issue
Diffstat (limited to 'youtube_dl/extractor/nova.py')
-rw-r--r-- | youtube_dl/extractor/nova.py | 2 |
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)) |