ffprobe from ffmpeg 5 has removed the deprecated
-show_format_entry duration option in favour of using
-show_entries format=duration instead. This means that all ffprobe calls crash webdl when run on a system with ffmpeg 5 installed.
The -show_entries option deprecated -show_format_entry since at least 2014, so just switch over without any attempt at backwards compatibility.