Yes, but I think that there is a big difference. In the case you linked, hiQ were actually doing the scraping themselves.
People (or company? not sure) don't make any requests to Anthropic themselves. They just publish code that can make such requests.
I don't think that there is a legal precedent that would make publishing code that can do scraping illegal.