I use yt-dlp (the maintained fork of youtube-dl) for school videos and put them on our in house Jellyfin.
If we can’t do that I email our teacher. I would rather them miss homework than unban YouTube. Schools need to stop using addictionware sites to deliver videos.