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

unsafe legacy connection error when downloading some content #232

Open
Bigishchak04 opened this issue Oct 15, 2024 · 1 comment
Open

unsafe legacy connection error when downloading some content #232

Bigishchak04 opened this issue Oct 15, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Bigishchak04
Copy link

Description of the bug

When running moodle-dl, I get this ytd-dlp error stating "yt-dlp Error: ERROR: UNSAFE_LEGACY_RENEGOTIATION_DISABLED" on some of the content it tries to download from Moodle. Next to that, it says to try using "--legacy-server-connect." However, when I run that argument at the beginning of my Moodle-dl run, it says the unrecognised argument for that.

Steps to reproduce the issue

without --legacy-server-connect

  • run moodle-dl ("moodle-dl -ais")
  • the script runs as normal, throwing up "yt-dlp Error: ERROR: UNSAFE_LEGACY_RENEGOTIATION_DISABLED" on some of the content as it tries to download them
  • script finishes as normal downloading most of the content, except those with that error
image image image image

with --legacy-server-connect

  • run moodle-dl "moodle-dl --legacy-server-connect -ais"
  • script does not run and instead throws an error saying unrecognised argument
image
@Bigishchak04 Bigishchak04 added the bug Something isn't working label Oct 15, 2024
@C0D3D3V
Copy link
Owner

C0D3D3V commented Oct 15, 2024

Uh nice that yt-dlp finally added the Option. ^^ Yes, we can integrate it to moodle-dl.

Moodle-dl has an own option for this, we will translate this to the yt-dlp option.
Namely --allow-insecure-ssl and --use-all-ciphers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants