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.
Hey, just wanted to clarify- I was not manually getting links and posting them. When someone posted a search query on my website, I would use 3rd party APIs and run the same search query on those APIs, then return results from those APIs to the users. All done programmatically.
Also, the author suggests he was getting the links manually and posting them. That's definitely not covered.