I needed to clean up my Google account but couldn’t remove all my YouTube subscriptions because Google doesn’t allow it, SO FUCK YOU GOOGLE. I searched online for a solution but only found broken scripts. So, I made my own working script to unsubscribe from all channels efficiently. Sharing it here in case anyone else is in the same boat. Hope it helps!
The account.