unsafe legacy connection error when downloading some content
Bigishchak04 opened this issue · comments
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
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
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