In my anarchist circles, other things are recommended before z-lib, which is a second-to-last resort.
There's an ebook piracy scheme that's been going on longer than z-lib, but it's a little bit more complicated to use than just a website, so it kinda flies under the radar.