[ard] Encode url (Closes #3412)
authorSergey M․ <dstftw@gmail.com>
Thu, 31 Jul 2014 13:35:29 +0000 (20:35 +0700)
committerSergey M․ <dstftw@gmail.com>
Thu, 31 Jul 2014 13:35:29 +0000 (20:35 +0700)
youtube_dl/extractor/ard.py

index 30a85c8c1c8d1b3a10a40ac55a577e3402cb487a..7ee2ef46314d41ba08f96cacf834f63bcbd263ea 100644 (file)
@@ -44,7 +44,7 @@ class ARDIE(InfoExtractor):
         else:
             video_id = m.group('video_id')
 
-        webpage = self._download_webpage(url, video_id)
+        webpage = self._download_webpage(url.encode('utf-8'), video_id)
 
         title = self._html_search_regex(
             [r'<h1(?:\s+class="boxTopHeadline")?>(.*?)</h1>',