1
0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-12-23 16:36:48 +00:00

[extractor/common] Fix python 3

This commit is contained in:
Sergey M․ 2015-08-02 01:20:49 +06:00
parent 8765222d22
commit 41c3a5a7be

View File

@ -1101,7 +1101,7 @@ class InfoExtractor(object):
'plugin': 'flowplayer-3.2.0.1', 'plugin': 'flowplayer-3.2.0.1',
} }
f4m_url += '&' if '?' in f4m_url else '?' f4m_url += '&' if '?' in f4m_url else '?'
f4m_url += compat_urllib_parse.urlencode(f4m_params).encode('utf-8') f4m_url += compat_urllib_parse.urlencode(f4m_params)
formats.extend(self._extract_f4m_formats(f4m_url, video_id, f4m_id='hds')) formats.extend(self._extract_f4m_formats(f4m_url, video_id, f4m_id='hds'))
continue continue