One way not to download videos in webm format is to make a config file for youtube-dl
mkdir -p $HOME/.config/youtube-dl
… and the config file
nano $HOME/.config/youtube-dl/config
… which contenst is
--ignore-errors
# --no-playlist
# Save in ~/Videos
-o ~/Videos/%(title)s.%(ext)s
### jos suomeksi niin laita Videot Videosin tilalle
####-o ~/Videot/%(title)s.%(ext)s
# Prefer 1080p or lower resolutions
-f bestvideo[ext=mp4][width<1280][height<=720]+bestaudio[ext=m4a]/bestvideo[width<1280][height<=720]+bestaudio/best[width<1280][height<=720]/best
... save and quit
Ctrl o
Ctrl x
Some links:
https://wiki.archlinux.org/title/Youtube-dl