youtube-dl

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

commit a130bc6d024e9bfa3c7f8742f8bf5038b2c6e363
parent 348d0a7a18fd4aa2512418b8be48f5011fbd3f99
Author: Philipp Hagemeister <phihag@phihag.de>
Date:   Wed, 28 Nov 2012 00:13:40 +0100

One more except..as

Diffstat:
Myoutube_dl/InfoExtractors.py | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py @@ -2851,8 +2851,8 @@ class SoundcloudIE(InfoExtractor): if mobj: try: upload_date = datetime.datetime.strptime(mobj.group(1), '%B %d, %Y %H:%M').strftime('%Y%m%d') - except Exception, e: - self._downloader.to_stderr(compat_str(e)) + except Exception as err: + self._downloader.to_stderr(compat_str(err)) # for soundcloud, a request to a cross domain is required for cookies request = compat_urllib_request.Request('http://media.soundcloud.com/crossdomain.xml', std_headers)