projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ea0ce
)
Use u instead of str in Python 2
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 22:06:49 +0000
(23:06 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 22:11:44 +0000
(23:11 +0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 85ffad18c61efce1431c07aabba3a56c3cfef56c..0bbe1a6b710a5fbe3dc6256153ff8305ce8c530b 100644
(file)
--- a/
youtube_dl/InfoExtractors.py
+++ b/
youtube_dl/InfoExtractors.py
@@
-1166,7
+1166,7
@@
class ArteTvIE(InfoExtractor):
self.report_download_webpage(url)
webpage = urllib2.urlopen(request).read()
except (urllib2.URLError, httplib.HTTPException, socket.error), err:
- self._downloader.trouble(u'ERROR: Unable to retrieve video webpage: %s' %
str
(err))
+ self._downloader.trouble(u'ERROR: Unable to retrieve video webpage: %s' %
u
(err))
return
except ValueError, err:
self._downloader.trouble(u'ERROR: Invalid URL: %s' % url)