Downloading copyrighted content from such sources is legal in many jurisdictions. What's illegal in most places is uploading said content to others. This got conflated 20 years ago when peer-to-peer file sharing developed, where you are downloading and uploading at the same time. But the web is not peer to peer.
On that note, I'd just like to add this thread from academia stack exchange.