mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-10 00:58:17 +02: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 @@ 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:
|
||||
|
Loading…
Reference in New Issue
Block a user