Not if you know you are collecting a bunch of copyrighted material. Piratebay can't use the safe harbor because they are clearly running a sharing site.
Also, the author suggests he was getting the links manually and posting them. That's definitely not covered.