ngokevin/soundcloud-dl — Issue #4: urllib2.HTTPError: HTTP Error 401: Unauthorized
Author: turian
Created: 2012-03-06 02:46:29+00:00
State: open

```
$ ./soundcloud-dl -u 'http://soundcloud.com/platform/red-stripe-make-sessions-001/s-cnhHf'
downloading: ['http://soundcloud.com/platform/red-stripe-make-sessions-001/s-cnhHf']
fetching html...
Could not get stream token. (1)
fetching html...
Could not get stream token. (2)
fetching html...
fetching html...
Traceback (most recent call last):
File "./soundcloud-dl", line 130, in
main(**{'url':url})
File "./soundcloud-dl", line 110, in main
download(uid, token, song_title)
File "./soundcloud-dl", line 72, in download
response = opener.open(request)
File "/usr/lib/python2.7/urllib2.py", line 400, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 513, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 438, in error
return self._call_chain(*args)
File "/usr/lib/python2.7/urllib2.py", line 372, in _call_chain
result = func(*args)
File "/usr/lib/python2.7/urllib2.py", line 521, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 401: Unauthorized
```