mirror of https://github.com/yt-dlp/yt-dlp.git
[ard] Remove URL path escaping
This is now implemented generic in YoutubeDL.urlopen
This commit is contained in:
parent
ed86ee3b4a
commit
dc9f356846
|
@ -51,9 +51,6 @@ class ARDMediathekIE(InfoExtractor):
|
||||||
else:
|
else:
|
||||||
video_id = m.group('video_id')
|
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)
|
webpage = self._download_webpage(url, video_id)
|
||||||
|
|
||||||
if '>Der gewünschte Beitrag ist nicht mehr verfügbar.<' in webpage:
|
if '>Der gewünschte Beitrag ist nicht mehr verfügbar.<' in webpage:
|
||||||
|
|
Loading…
Reference in New Issue