logo

youtube-dl

[mirror] Download/Watch videos from video hosters
commit: b4f23afbd1dd9ee924828a2ad41a2318f8d6323a
parent 0138968a6a5d18e5aca23b52819cd10015997831
Author: Sergey M․ <dstftw@gmail.com>
Date:   Thu, 31 Jul 2014 20:35:29 +0700

[ard] Encode url (Closes #3412)

Diffstat:

Myoutube_dl/extractor/ard.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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>',