]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[ard] Remove URL path escaping
authorSergey M․ <dstftw@gmail.com>
Tue, 16 Sep 2014 11:47:06 +0000 (18:47 +0700)
committerSergey M․ <dstftw@gmail.com>
Tue, 16 Sep 2014 11:47:06 +0000 (18:47 +0700)
This is now implemented generic in YoutubeDL.urlopen

youtube_dl/extractor/ard.py

index 12457f0f996db46d48823836c50e98048162c83c..54cec1c2fefd6a660d604c15a1926b5c3f7fb8a0 100644 (file)
@@ -51,9 +51,6 @@ class ARDMediathekIE(InfoExtractor):
         else:
             video_id = m.group('video_id')
 
-        urlp = compat_urllib_parse_urlparse(url)
-        url = urlp._replace(path=compat_urllib_parse.quote(urlp.path.encode('utf-8'))).geturl()
-
         webpage = self._download_webpage(url, video_id)
 
         if '>Der gewünschte Beitrag ist nicht mehr verfügbar.<' in webpage: