Additional youtube dl Settings - C0D3D3V/Moodle-DL GitHub Wiki
If you want to pass additional options to youtube-dl, you can easily do so. To do this, you have to create the option youtube_dl_options
in the config.json
, all options defined in it will be passed directly to youtube-dl. Attention the options that are specified can overwrite the options that are set by moodle-dl. Therefore you should not set the options that are listed at the end of this entry. Click here for nearly all available options.
E.g the following will prevent playlists from being downloaded if the link points to a specific video in a playlist:
"youtube_dl_options": {
"noplaylist": true
},
Please do not set any of the following options (unless you know what you are doing and know the consequences):
logger
progress_hooks
outtmpl
nocheckcertificate
cookies_path
is overwritten if the Cookies.txt
file exists