mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 03:03:01 +00:00
[nova] Fix Python 2.6 compatability issue
This commit is contained in:
parent
08b7968e28
commit
b0cda32f72
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ def _real_extract(self, url):
|
|||
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))
|
||||
|
|
Loading…
Reference in a new issue