https://en.wikipedia.org/wiki/Audio_Home_Recording_Act#Exemp...
Problem became when CDs etc. started shipping with easily cirumventable DRM. Because you are allowed to rip the CD to disk for backup purposes and for playing on your mp3-player and even share with your close family. We even pay a special tax on storage media to compensate artists for the right to do this.
But as soon as the media contains DRM it becomes illegal, because circumventing DRM is illegal. Nevermind that the action you are trying to do is legal and with the tax you are even paying for it - but you can't legally do it. Same would apply to youtube. All they would have to do is encrypt the stream with a ROT13 equivalent with a static key, call it DRM and bam - now it is illegal to use youtube-dl.
Unless the assumption with this shut down is that any results of using the service would always be used for selling or playing in public.
I guess that would've been illegal, too?