Piratebay is just hosting the magnet links, right? That's not infringing copyright IIRC.
I believe they switched to only magnet links as it made it easier for them to be mirrored and switch around providers to hide from authorities without having to worry about all those files. Also most people likely use magnet links anyway.