0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-27 03:03:01 +00:00

[ard] Remove URL path escaping

This is now implemented generic in YoutubeDL.urlopen
This commit is contained in:
Sergey M․ 2014-09-16 18:47:06 +07:00
parent ed86ee3b4a
commit dc9f356846

View file

@ -51,9 +51,6 @@ def _real_extract(self, url):
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: