projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
348d0a7
)
One more except..as
author
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 23:13:40 +0000
(
00:13
+0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Tue, 27 Nov 2012 23:13:40 +0000
(
00:13
+0100)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 8726e943896b0c4b2fdde130eaceb2d22050ed8e..f64b88d55c187c7c9dfa9ef874136e3fbb98387c 100644
(file)
--- 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(e
rr
))
# 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)