[extractor/common] Fix python 3
authorSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 19:20:49 +0000 (01:20 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 1 Aug 2015 19:20:49 +0000 (01:20 +0600)
youtube_dl/extractor/common.py

index f9578b8380cfcaa1d63a7688307ef231d5691d75..c123d9fca6dfe73eae0cdd220dec02985a8de809 100644 (file)
@@ -1101,7 +1101,7 @@ class InfoExtractor(object):
                         '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