diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2011-11-22 15:31:30 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2011-11-22 15:31:30 +0100 |
commit | dc0a294a7370b0eb55a36a0ac231b18e09877eeb (patch) | |
tree | 68de19faf8efc53ed2273640215f5be357240316 | |
parent | 468c99257ca43401413366e7dc4544d5cca28a36 (diff) |
Make exception handling 2.5-compatible (Closes #223)
-rwxr-xr-x | youtube_dl/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/__init__.py b/youtube_dl/__init__.py index 9ed162186..1af572071 100755 --- a/youtube_dl/__init__.py +++ b/youtube_dl/__init__.py @@ -3507,7 +3507,7 @@ 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 as e: + except Exception, e: print str(e) # for soundcloud, a request to a cross domain is required for cookies |