News for hackers. Stuff that matters.
Re:Magnet-hashes for all torrents on The Pirate Bay: 164 MB by allisfine on Thursday February 09, 2012 @03:57AM (#3570327)
Great!

Just one thing: I see you are splitting by |, and some torrents (very few, but some) have | in their name (I didn't bother with escaping that).

Re:Magnet-hashes for all torrents on The Pirate Bay: 164 MB by Bogdanp on Thursday February 09, 2012 @04:15AM (#3570369)
I've accounted for that by grabbing all the other fields before grabbing the title. `python pirate.py -l | grep '|'` seems to yield correct results :).

https://github.com/Bogdanp/Pirate/blob/master/pirate.py#L27