summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSergey M․ <[email protected]>2014-07-31 20:35:29 +0700
committerSergey M․ <[email protected]>2014-07-31 20:35:29 +0700
commitb4f23afbd1dd9ee924828a2ad41a2318f8d6323a (patch)
tree1cacb538685bef554732569516203c691d86a683
parent0138968a6a5d18e5aca23b52819cd10015997831 (diff)
downloadyoutube-dl-b4f23afbd1dd9ee924828a2ad41a2318f8d6323a.tar.gz
youtube-dl-b4f23afbd1dd9ee924828a2ad41a2318f8d6323a.zip
[ard] Encode url (Closes #3412)
-rw-r--r--youtube_dl/extractor/ard.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/ard.py b/youtube_dl/extractor/ard.py
index 30a85c8c1..7ee2ef463 100644
--- a/youtube_dl/extractor/ard.py
+++ b/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>',