I sometimes use the youtube-dl fork yt-dlp to download and archive videos in Linux.
Recently, yt-dlp
started throwing this error:
ERROR: download_content() got an unexpected keyword argument
I could not figure out what caused the error and I had updated to the most recent
from pypi via pip
.
It appears to be a bug in the DR TV handler that has been fixed but not yet released.
In order to solve the issue, you can install yt-dlp from Git master using the following command:
python3 -m pip install --force-reinstall https://github.com/yt-dlp/yt-dlp/archive/master.tar.gz
This solved the issue for me at least.