projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08b7968
)
[nova] Fix Python 2.6 compatability issue
author
Slava Shklyaev
<shk.slava@gmail.com>
Tue, 2 Jun 2015 15:17:33 +0000
(18:17 +0300)
committer
Slava Shklyaev
<shk.slava@gmail.com>
Tue, 2 Jun 2015 15:30:25 +0000
(18:30 +0300)
youtube_dl/extractor/nova.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/nova.py
b/youtube_dl/extractor/nova.py
index 8360a65d9fcac6b065c4625713446bb901b59b13..7e3498eea5b092f44ed1582f958e74e1d923b32e 100644
(file)
--- 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))