[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 @@ def _parse_smil_formats(self, smil, smil_url, video_id, namespace=None, f4m_para
'plugin': 'flowplayer-3.2.0.1',
}
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'))
continue