projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
633b4a5
)
Correct accidental rename
author
Philipp Hagemeister
<phihag@phihag.de>
Thu, 6 Dec 2012 23:57:06 +0000
(
00:57
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Thu, 6 Dec 2012 23:57:06 +0000
(
00:57
+0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 71b6a136eb13e3d2d0d1d462f08b6ff369009998..14c32fe6747162b6e61df628a3cb44c955024742 100644
(file)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-2829,7
+2829,7
@@
class SoundcloudIE(InfoExtractor):
url = 'https://soundcloud.com/%s/%s' % (uploader, slug_title)
request = compat_urllib_request.Request(url)
try:
-
urlo
= compat_urllib_request.urlopen(request).read()
+
webpage_bytes
= compat_urllib_request.urlopen(request).read()
webpage = webpage_bytes.decode('utf-8')
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))