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

Lynda JSON Metadata Eroor #8627

Closed
VortekDesign opened this issue Feb 21, 2016 · 1 comment
Closed

Lynda JSON Metadata Eroor #8627

VortekDesign opened this issue Feb 21, 2016 · 1 comment

Comments

@VortekDesign
Copy link

@VortekDesign VortekDesign commented Feb 21, 2016

Hey,
I am a total noob but here is my bug report.
Please help me as fast as possible before my trial account expires!
I want to download multiple lynda courses to view offline!

skymint@Skymint ~/Downloads/lynda-download $ youtube-dl -v --cookies cookies.txt http://www.lynda.com/Pro-Tools-tutorials/Pro-Tools-12-Essential-Training/385356-2.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'--cookies', u'cookies.txt', u'http://www.lynda.com/Pro-Tools-tutorials/Pro-Tools-12-Essential-Training/385356-2.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.02.13
[debug] Python version 2.7.6 - Linux-3.19.0-32-generic-x86_64-with-LinuxMint-17.3-rosa
[debug] exe versions: avconv 9.18-6, avprobe 9.18-6
[debug] Proxy map: {}
[lynda:course] 385356: Downloading course JSON
ERROR: Unable to download JSON metadata: HTTP Error 400: Bad Request (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 354, in _request_webpage
return self._downloader.urlopen(url_or_request)
File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1905, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "/usr/lib/python2.7/urllib2.py", line 410, in open
response = meth(req, response)
File "/usr/lib/python2.7/urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "/usr/lib/python2.7/urllib2.py", line 448, in error
return self._call_chain(_args)
File "/usr/lib/python2.7/urllib2.py", line 382, in _call_chain
result = func(_args)
File "/usr/lib/python2.7/urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Thanks guys you are awesome please fix the issue or if it is none help me to fix my problem!
Thumbs up!

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 21, 2016

Read closely.

HTTP Error 400: Bad Request when using --cookies is a good sign of invalid newline format

@dstftw dstftw closed this Feb 21, 2016
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.