aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
Diffstat (limited to 'youtube_dl')
-rwxr-xr-xyoutube_dl/__init__.py2
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