projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
cb99797
)
Merge remote-tracking branch 'joksnet/ytsearch_decode_request'
author
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Feb 2013 22:14:34 +0000
(23:14 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sun, 24 Feb 2013 22:14:34 +0000
(23:14 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 378f8a634e9a75525b9d93f1cb5f82ec8bf0b0ea..3b1e14ba97d2b2a8eacd7ed4ec9c0b7716039b7d 100755
(executable)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-1472,7
+1472,7
@@
class YoutubeSearchIE(InfoExtractor):
result_url = self._API_URL % (compat_urllib_parse.quote_plus(query), (50*pagenum)+1)
request = compat_urllib_request.Request(result_url)
try:
- data = compat_urllib_request.urlopen(request).read()
+ data = compat_urllib_request.urlopen(request).read()
.decode('utf-8')
except (compat_urllib_error.URLError, compat_http_client.HTTPException, socket.error) as err:
self._downloader.trouble(u'ERROR: unable to download API page: %s' % compat_str(err))
return