question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Linkedin Learning not downloading some videos of a course (No video formats found error)

See original GitHub issue

Checklist

Region

The Netherlands

Description

I get errors on some videos from a Linkedin Learning course. It says there are no video formats found. The videos play just fine when used through the Linkedin Learning website.

YT-DLP authentication for LinkedIn works fine (cookies, netrc, n2 setup). There’s four videos that download just fine (apparently there are video formats found for those but not the others?). I get the same error both when calling the whole course URL and separate videos in the course. Both approaches throw the same error output listed below in the verbose log.

Direct links to the working videos: 01 - Welcome: https://www.linkedin.com/learning/learning-modular-synthesis/welcome 04 - Fundamental concept - Voltage control (CV + gate): https://www.linkedin.com/learning/learning-modular-synthesis/fundamental-concept-voltage-control-cv-gate 10 - Patching a typical synthesizer “voice”: https://www.linkedin.com/learning/learning-modular-synthesis/patching-a-typical-synthesizer-voice 27 - Exponential frequency modulation (FM): https://www.linkedin.com/learning/learning-modular-synthesis/exponential-frequency-modulation-fm

Direct link to the course URL/playlist: https://www.linkedin.com/learning/learning-modular-synthesis

Verbose log

[debug] Command-line config: ['-vU', '--cookies', 'cookies.txt', '--write-subs', '--verbose', 'https://www.linkedin.com/learning/learning-modular-synthesis/how-we-got-here']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, err utf-8, pref UTF-8
[debug] yt-dlp version 2022.01.21 [f20d607b0]
[debug] Python version 3.9.10 (CPython 64bit) - macOS-10.14.6-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.4.1 (setts), ffprobe 4.4.1, rtmpdump 2.4
[debug] Optional libraries: sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.01.21, Current version: 2022.01.21
yt-dlp is up to date (2022.01.21)
[debug] [linkedin:learning] Extracting URL: https://www.linkedin.com/learning/learning-modular-synthesis/how-we-got-here
[linkedin:learning] how-we-got-here: Downloading 360p JSON metadata
[linkedin:learning] how-we-got-here: Downloading 540p JSON metadata
[linkedin:learning] how-we-got-here: Downloading 720p JSON metadata
[debug] Downloading subtitles: en
ERROR: [linkedin:learning] 493513: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1367, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1451, in __extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 1503, in process_ie_result
    ie_result = self.process_video_result(ie_result, download=download)
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 2413, in process_video_result
    self.raise_no_formats(info_dict)
  File "/usr/local/Cellar/yt-dlp/2022.1.21/libexec/lib/python3.9/site-packages/yt_dlp/YoutubeDL.py", line 954, in raise_no_formats
    raise ExtractorError(msg, video_id=info['id'], ie=info['extractor'],
yt_dlp.utils.ExtractorError: [linkedin:learning] 493513: No video formats found!; please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; see  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:6

github_iconTop GitHub Comments

1reaction
michael-hart-githubcommented, Feb 23, 2022

@pyntel Sorry to hear that!

I was looking through the github repo for llvd and noticed an issue that was closed a while back: https://github.com/knowbee/llvd/issues/58

It sounds like some people have company-based accounts, and think that they are premium, but they might not actually be. (Crazy to think about, considering how much those companies must be paying!)

I really don’t know why you would be getting that error message. If your account is company-based you might want to double-check what type of account you have:

  1. Log in to LinkedIn Learning
  2. Go to settings
  3. Check your account type. Mine says “Account type: Learning Premium

Screenshot from 2022-02-23 14-36-16

My own account is on a free month trial - with the intent to expense it to my company - but not tied directly to a “Company Plan” or whatever LinkedIn Learning would call it. If you’ve got some kind of a group account, maybe it’s an underlying problem. 🤔

1reaction
pyntelcommented, Feb 21, 2022

@michael-hart-github thank you for that pointer.

The tool works but still does not download any video except for the 4 mentioned in the opening topic. The fun thing is though that LLVD does provide me with a more useful feedback in this error message: “This video is locked, you probably need a premium account.”

Again, those videos play just fine from LinkedIn Learning’s own website for me, so it has nothing to do with my account itself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Learning Video Downloads and Mobile ...
If the video you're streaming is pausing, or you're unable to download a video on your mobile device, you may be experiencing a...
Read more >
Downloading LinkedIn Learning Exercise Files
Click the Exercise Files tab under or to the right of the course video. Click the exercise file you'd like to download. Click...
Read more >
Your video won't play? Here's why.
The problem is that they don't play across all formats, which means sometimes your screen will play black, or the audio won't work....
Read more >
Learning Certificates of Completion - FAQs | Learning Help
Note: The process of viewing and downloading Certificates of Completion is the same ... What courses and learning paths offer Certificates of Completion?...
Read more >
LinkedIn Learning exercise files - FAQ | LinkedIn Help
Open the course you wish to view. · Click the Exercise Files tab under the course video. · Click the exercise file you'd...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found