1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-26 10:24:33 +01:00

[nova] Fix Python 2.6 compatability issue

This commit is contained in:
Slava Shklyaev 2015-06-02 18:17:33 +03:00
parent 08b7968e28
commit b0cda32f72

View File

@ -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))