Did you know you can download YouTube videos by inspecting the network requests when you toggle the device toolbar?
Just open the dev tools with
Ctrl + Shift + I and select the
Network tab. Then toggle the device toolbar with
Ctrl + Shift + M and reload the page. Filter by the heaviest network request and open it in a new tab, there you will be able to download your video.
You can see me in action here: https://www.youtube.com/watch?v=_eZeBg0jLy4&ab_channel=DavidArmend%C3%A1riz