about summary refs log tree commit diff
path: root/youtube_dl/extractor/shared.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-05-22 00:10:05 +0600
committerSergey M․ <dstftw@gmail.com>2015-05-22 00:10:05 +0600
commit43150d7ac36efda7bc60c694b8a18e1f720da04b (patch)
treec7d4cc6f84a343d0460292aa7270762b9f27ca82 /youtube_dl/extractor/shared.py
parentafe8b594be53161f68189e15a65b4e9c6eba0b35 (diff)
downloadyoutube-dl-43150d7ac36efda7bc60c694b8a18e1f720da04b.tar.gz
youtube-dl-43150d7ac36efda7bc60c694b8a18e1f720da04b.tar.xz
youtube-dl-43150d7ac36efda7bc60c694b8a18e1f720da04b.zip
[shared] Fix for python 3.2
Diffstat (limited to 'youtube_dl/extractor/shared.py')
-rw-r--r--youtube_dl/extractor/shared.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/shared.py b/youtube_dl/extractor/shared.py
index 26ced716e..9f3e944e7 100644
--- a/youtube_dl/extractor/shared.py
+++ b/youtube_dl/extractor/shared.py
@@ -47,7 +47,7 @@ class SharedIE(InfoExtractor):
         video_url = self._html_search_regex(
             r'data-url="([^"]+)"', video_page, 'video URL')
         title = base64.b64decode(self._html_search_meta(
-            'full:title', webpage, 'title')).decode('utf-8')
+            'full:title', webpage, 'title').encode('utf-8')).decode('utf-8')
         filesize = int_or_none(self._html_search_meta(
             'full:size', webpage, 'file size', fatal=False))
         thumbnail = self._html_search_regex(