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

[LinuxAcademy] TypeError: 'NoneType' object is not iterable #21129

Closed
greatpilaf opened this issue May 17, 2019 · 1 comment
Closed

[LinuxAcademy] TypeError: 'NoneType' object is not iterable #21129

greatpilaf opened this issue May 17, 2019 · 1 comment

Comments

@greatpilaf
Copy link

greatpilaf commented May 17, 2019

Verbose log

system@debian:~/Downloads/test$ youtube-dl -u user -p pass https://linuxacademy.com/cp/modules/view/id/140

[LinuxAcademy] Downloading authorize page
[LinuxAcademy] Downloading login page
[LinuxAcademy] Downloading callback page
[LinuxAcademy] Downloading token validation page
[LinuxAcademy] 140: Downloading webpage
[download] Downloading playlist: LXC/LXD Deep Dive
[LinuxAcademy] playlist LXC/LXD Deep Dive: Collected 26 video ids (downloading 26 of them)
[download] Downloading video 1 of 26
[LinuxAcademy] 1310-1: Downloading webpage
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 10, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 2008, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1006, in process_ie_result
    extra_info=extra)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/linuxacademy.py", line 165, in _real_extract
    webpage, item_id, require_title=False, m3u8_id='hls',)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 2644, in _extract_jwplayer_data
    jwplayer_data, video_id, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 2650, in _parse_jwplayer_data
    if 'playlist' not in jwplayer_data:
TypeError: argument of type 'NoneType' is not iterable

Description

@bew
Copy link

bew commented May 18, 2019

BIG WARNING @greatpilaf you included the username and password of your linuxacademy account in the issue (arguments -u & -p), I'd suggest you to remove thoses quickly (or put fake ones instead)

@ytdl-org ytdl-org locked and limited conversation to collaborators Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from stratus-ss Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from joydeepml Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from karimmafadl Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from jpcert1 Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from greatpilaf Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from karimmafadl Jul 4, 2019
@ytdl-org ytdl-org deleted a comment from greatpilaf Jul 4, 2019
@dstftw dstftw closed this as completed in f70c263 Dec 13, 2020
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this issue Jan 28, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants