git://git.jankratochvil.net
/
youtube-dl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
468c992
)
Make exception handling 2.5-compatible (Closes #223)
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 22 Nov 2011 14:31:30 +0000
(15:31 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 22 Nov 2011 14:31:30 +0000
(15:31 +0100)
youtube_dl/__init__.py
patch
|
blob
|
history
diff --git
a/youtube_dl/__init__.py
b/youtube_dl/__init__.py
index
9ed1621
..
1af5720
100755
(executable)
--- 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