Same would be the case for YouTube. Google case was different in that AFAIK there wasn't any obvious legal problem with indexing, and, back then, they were actually doing everyone a favor.
Hardly anyone had any issue with Google search until the time when news media screwed themselves over by going all in on ads, overdoing it, then trying to bring back the paywall, only to realize no one is actually browsing their sites but instead relies on Google to find specific articles. All kinds of legal and technical nonsense started happening (and then Google improved the blurbs under search results and added the "answer box", leading publishers big and small to collectively lose their minds...).