mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-17 01:25:11 +00:00
Correct accidental rename
This commit is contained in:
parent
633b4a5ff6
commit
f9b2f2b955
1 changed files with 1 additions and 1 deletions
|
@ -2829,7 +2829,7 @@ def _real_extract(self, url):
|
||||||
url = 'https://soundcloud.com/%s/%s' % (uploader, slug_title)
|
url = 'https://soundcloud.com/%s/%s' % (uploader, slug_title)
|
||||||
request = compat_urllib_request.Request(url)
|
request = compat_urllib_request.Request(url)
|
||||||
try:
|
try:
|
||||||
urlo = compat_urllib_request.urlopen(request).read()
|
webpage_bytes = compat_urllib_request.urlopen(request).read()
|
||||||
webpage = webpage_bytes.decode('utf-8')
|
webpage = webpage_bytes.decode('utf-8')
|
||||||
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
|
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
|
||||||
self._downloader.trouble(u'ERROR: unable to download video webpage: %s' % compat_str(err))
|
self._downloader.trouble(u'ERROR: unable to download video webpage: %s' % compat_str(err))
|
||||||
|
|
Loading…
Reference in a new issue