youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 1a84d8675b4417ca9adf40bb12325c728767896a
parent 18ea0cefc370807e1d31fd7b462691f29f48c8fe
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Tue, 27 Nov 2012 23:06:49 +0100

Use u instead of str in Python 2

Diffstat:
Myoutube_dl/InfoExtractors.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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)