Browse Source

[ard] Encode url (Closes #3412)

Sergey M․ 11 years ago
parent
commit
b4f23afbd1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/ard.py

+ 1 - 1
youtube_dl/extractor/ard.py

@@ -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>',