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

Unable to download JSON metadata: HTTP Error 401: #6930

Closed
kikoshiro opened this issue Sep 23, 2015 · 11 comments
Closed

Unable to download JSON metadata: HTTP Error 401: #6930

kikoshiro opened this issue Sep 23, 2015 · 11 comments

Comments

@kikoshiro
Copy link

@kikoshiro kikoshiro commented Sep 23, 2015

$ youtube-dl --verbose https://soundcloud.com/rizzoknor/live-garbicz-festival-2014
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'https://soundcloud.com/rizzoknor/live-garbicz-festival-2014']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.22
[debug] Python version 2.7.3 - Linux-3.5.0-17-generic-x86_64-with-LinuxMint-14-nadia
[debug] exe versions: avconv 0.8.10-6, avprobe 0.8.10-6, ffprobe 0.8.10-6, rtmpdump 2.4
[debug] Proxy map: {}
[soundcloud] rizzoknor/live-garbicz-festival-2014: Resolving id
[soundcloud] rizzoknor/live-garbicz-festival-2014: Downloading info JSON
ERROR: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 326, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
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)

@pricejn2
Copy link

@pricejn2 pricejn2 commented Sep 23, 2015

Thanks for the quick fix @dstftw. Any idea when we can expect the next release?

@clancye
Copy link

@clancye clancye commented Sep 23, 2015

@dstftw thanks for the fix.

@clancye
Copy link

@clancye clancye commented Sep 23, 2015

@pricejn2 see answer on 6933, the tarball works.

@zampl1cg
Copy link

@zampl1cg zampl1cg commented Sep 23, 2015

@clancye How does one actually use that tarball? I can't get ./bin/youtube-dl to do anything other than spit out

Traceback (most recent call last):
File "youtube-dl", line 3, in
import youtube_dl
ImportError: No module named youtube_dl

@jischein
Copy link

@jischein jischein commented Sep 24, 2015

will the fix be implemented in an update soon ?

@pricejn2
Copy link

@pricejn2 pricejn2 commented Sep 24, 2015

@clancye good call, thanks.

@zampl1cg you can use python -m youtube_dl or make; make install

@lakecityransom
Copy link

@lakecityransom lakecityransom commented Sep 25, 2015

Its confusing as a noob. Thanks yan12125. Here is the easy steps:

  1. Download https://github.com/rg3/youtube-dl/archive/master.zip
  2. In cmd prompt "PATH\youtube_dl__main__.py" THEURL
  3. Wait for the new .exe to come out
@binhbeer
Copy link

@binhbeer binhbeer commented Jan 27, 2016

client id is expired!

@alfredotavio
Copy link

@alfredotavio alfredotavio commented Oct 28, 2016

you can use the parameter --playlist-start to jump the videos already downloaded
because the client has expired

@vaibhav1312 vaibhav1312 mentioned this issue Nov 30, 2016
4 of 8 tasks complete
@BIGAL117
Copy link

@BIGAL117 BIGAL117 commented Apr 20, 2017

What exactly do I need to do to fix my bot so I can play soundcloud music? Ive seen the code but dont know where to put it

@xxzozaxx
Copy link

@xxzozaxx xxzozaxx commented Jan 22, 2018

@BIGAL117 same here

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
10 participants
You can’t perform that action at this time.