mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-11 04:48:00 +09:00
[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
Block a user