mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-25 19:52:11 +00:00
Fix: unescape() cannot work on an utf8 string, send him an ascii one
This commit is contained in:
parent
d6639d05c2
commit
3a5d3e034e
1 changed files with 1 additions and 1 deletions
|
@ -1635,7 +1635,7 @@ class DailymotionIE(InfoExtractor):
|
|||
if mobj is None:
|
||||
self._downloader.trouble(u'ERROR: unable to extract title')
|
||||
return
|
||||
video_title = htmlParser.unescape(mobj.group('title')).decode('utf-8')
|
||||
video_title = htmlParser.unescape(mobj.group('title').decode('utf-8'))
|
||||
video_title = sanitize_title(video_title)
|
||||
simple_title = _simplify_title(video_title)
|
||||
|
||||
|
|
Loading…
Reference in a new issue