[nova] Fix Python 2.6 compatability issue

pull/8/head
Slava Shklyaev 10 years ago
parent 08b7968e28
commit b0cda32f72

@ -141,7 +141,7 @@ class NovaIE(InfoExtractor):
mediafile = config['mediafile'] mediafile = config['mediafile']
video_url = mediafile['src'] video_url = mediafile['src']
ext = determine_ext(video_url) 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) title = mediafile.get('meta', {}).get('title') or self._og_search_title(webpage)
description = clean_html(self._og_search_description(webpage, default=None)) description = clean_html(self._og_search_description(webpage, default=None))

Loading…
Cancel
Save