aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ard.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2014-07-31 20:35:29 +0700
committerSergey M․ <dstftw@gmail.com>2014-07-31 20:35:29 +0700
commitb4f23afbd1dd9ee924828a2ad41a2318f8d6323a (patch)
tree1cacb538685bef554732569516203c691d86a683 /youtube_dl/extractor/ard.py
parent0138968a6a5d18e5aca23b52819cd10015997831 (diff)
[ard] Encode url (Closes #3412)
Diffstat (limited to 'youtube_dl/extractor/ard.py')
-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>',