Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Lynda extract body error #9768
Lynda extract body error #9768
Comments
|
Post the output of |
|
Hi, I gave up to user & password solution and I tried it by using netrc authentication. It worked fine first time and I got to download a video from lynda but beginning with the second time I received the "Session expired" error. I've read about this and there are some solutions but in that cases they use cookies. Thank you, |
|
That is completely different error than one in OP post. Extractor in |
|
But with lynda:course it worked first time, it really downloaded the video. I don't know what to do with the expired session error. |
|
Looks like authentication involves some additional redirect in your case. What are your credentials personal or organization? Can you provide your credentials for test? |
|
Organization. I'm afraid I'm not allowed. I could try different others tests and come back with the results. |
|
Organization login is not supported. |
Hi,
I met this issue when trying to download from lynda.com:
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--verbose', u'-u', u'PRIVATE', u'-p', u'PRIVATE', u'http://www.lynda.com/C-tutorials/Why-smart-pointers/379655/419905-4.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.06.12
[debug] Python version 2.6.6 - Linux-2.6.32-573.el6.x86_64-x86_64-with-centos-6.7-Final
[debug] exe versions: none
[debug] Proxy map: {'https': 'https://HIDDEN:911'}
[lynda] Downloading signin page
[lynda] Submitting email
ERROR: An extractor error has occurred. (caused by KeyError(u'body',)); 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.
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/extractor/common.py", line 341, in extract
self.initialize()
File "./youtube-dl/youtube_dl/extractor/common.py", line 335, in initialize
self._real_initialize()
File "./youtube-dl/youtube_dl/extractor/lynda.py", line 26, in _real_initialize
self._login()
File "./youtube-dl/youtube_dl/extractor/lynda.py", line 88, in _login
password_form = signin_page['body']
KeyError: u'body'
Traceback (most recent call last):
File "./youtube-dl/youtube_dl/YoutubeDL.py", line 676, in extract_info
ie_result = ie.extract(url)
File "./youtube-dl/youtube_dl/extractor/common.py", line 348, in extract
raise ExtractorError('An extractor error has occurred.', cause=e)
ExtractorError: An extractor error has occurred. (caused by KeyError(u'body',)); 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.
The proxy is ok, I just hidden it.
Thank you,
Cristina