For whatever reason, YouTube's "Removed watched videos" button has not worked for years. But since I've maxed out my "Watch Later" list, I can't add anything until I remove videos.
So, this script simply goes through every video in the list and removes it.
With 5,000 videos, it will take about 42 minutes.