Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[soundcloud] Unable to download webpage: HTTP Error 401: Unauthorized; #2008

Closed
pricejn2 opened this issue Dec 19, 2013 · 2 comments
Closed

[soundcloud] Unable to download webpage: HTTP Error 401: Unauthorized; #2008

pricejn2 opened this issue Dec 19, 2013 · 2 comments

Comments

@pricejn2
Copy link

@pricejn2 pricejn2 commented Dec 19, 2013

I'm having issues with some soundcloud downloads today. Here is a report for one:

 youtube-dl -s -v --max-filesize=150m --playlist-end 1 'https://soundcloud.com/johnnewmanmusic/losing-sleep-disciples-rmx'
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-s', '-v', 'https://soundcloud.com/johnnewmanmusic/losing-sleep-disciples-rmx']
[debug] youtube-dl version 2013.12.17.2
[debug] Python version 2.7.3 - Linux-3.2.0-4-amd64-x86_64-with-debian-7.2
[debug] Proxy map: {}
[soundcloud] johnnewmanmusic/losing-sleep-disciples-rmx: Resolving id
[soundcloud] johnnewmanmusic/losing-sleep-disciples-rmx: Downloading info JSON
[soundcloud] 125081448: Downloading track url
ERROR: Unable to download webpage: HTTP Error 401: Unauthorized; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 171, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1054, in urlopen
    return self._opener.open(req)
  File "/usr/lib/python2.7/urllib2.py", line 407, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 520, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 445, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 379, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 528, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
@phihag
Copy link
Contributor

@phihag phihag commented Dec 19, 2013

The intermediary JSON file does not list US as a country. Where are you located? Thanks for the report, we'll investigate.

@pricejn2
Copy link
Author

@pricejn2 pricejn2 commented Dec 19, 2013

Ahh, thats precisely the problem. Good catch. I'm in the US.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.