The Pirate Bay

The Pirate Bay (abbrev. as "TPB") is one of the largest and most popular torrent search engines.
It's still having persistent legal problems. The tracker went down in November 2012, but the site still serves torrents and magnet links. If a torrent is lost, it becomes impossible to connect to other computers distributing the shared files. Considering that there are links to TPB all over this wiki, this site is pretty dang important.
On December 2014, the website went offline due to an alleged raidhttps://torrentfreak.com/swedish-police-raid-the-pirate-bay-site-offline-141209/. A few weeks later, the site was updated with a banner page and a mysterious key stringhttps://torrentfreak.com/pirate-bay-domain-back-online-waving-a-pirate-flag-141221/ revealed to be a cryptographic puzzle with the solution "I'll be back" https://www.reddit.com/r/piratebayaes/comments/2rvn1c/observation_weired_css_for_the_pipe_class/cnllylkhttps://torrentfreak.com/pirate-bays-mystery-aes-code-finally-decrypted-150112/. The website returned back online on February 1, 2015https://torrentfreak.com/pirate-bay-back-online-150131/.
==In case of Fire==
To prevent damage to the Archive Team if The Pirate Bay ever goes down, we should include a Magnet Link next to every TPB link we have.
=== Archival Methods ===
We can simply scrape the magnet links, descriptions, and comments. The hard part would probably be keeping it all updated... (Maybe we could use a git repository, and pull as necessary?) 
Magnet links are provided in the Pirate Bay Magnet Archive below, and descriptions and comments are in the siterip.
=== Archival Tools ===
* Magnet link Dumper: A perl script that dumps magnet links into a single text file. It was used to make the below magnet archive.
* tpb2csv: scrapes the pirate bay website and strips out all the html crap, leaving only pure sweet metadata.
** details.csv: Title, Type, Files, Size, IMDB, Spoken Languages, Texted Languages, Tags, Quality (+), Quality (-), Uploaded, By, User Type, Seeders, Leechers, Info Hash, Picture, Capture Date
** description.txt
** comments.csv: User Type, Username, Date, Text
== Backups ==
* rich.xml.7z 662MB 7z database dump from 2013-02-19
** torrent:urn:sha1:e4b6f847647211b930219492ecf1a9c7bc696d29
** Magnet link: magnet:?xt=urn:btih:e4b6f847647211b930219492ecf1a9c7bc696d29
* The entire Pirate Bay Magnet Archive: Every magnet link on the Pirate Bay, all in a tiny little text file. No comments, though.
** Magnet link: magnet:?xt=urn:btih:938802790a385c49307f34cca4d30f80b03df59c&dn=The+whole+Pirate+Bay+magnet+archive&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* Updated (February 2013) Listing
** Magnet Link: magnet:?xt=urn:btih:277e1afa0038db7299cd8274310556526599f67c&dn=Small+pirate+bay+archive+%28february+2013%29&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* Magnet Archive Viewer: Parsing text files can be a pain, so this program makes it easy to search and look at the magnet links.
** Magnet Link: magnet:?xt=urn:btih:f7a08a62a11ba6dfe39f1cd0b7e8a5a50d5379aa&dn=Pirate+bay+Magnet+Archive+viewer&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* Siterip: This 3GB archive saves all the html pages from the Piratebay, including comments. No torrent files, as usual.
** Magnet Link: magnet:?xt=urn:btih:3ab8dd096aea63ddf668a127b81ba7fb6799364d&dn=The+Pirate+Bay+full+siterip+2012&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* IDs 3200000-7699999: tpb2csv 1.23GB 7z Backup as of 2012-10-06. It includes all comments, filelists, and details in csv format.
** Magnet Link: magnet:?xt=urn:btih:0dfe31d5d91058bcbe5cfbcf98646700890afea0&dn=Backup+of+The+Pirate+Bay+%28IDs%3A+3200000+-+7700000%29&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* IDs 7700000-7999999: tpb2csv 69MB 7z Backup as of 2013-01-09. It includes all comments, filelists, and details in csv format.
** Magnet Link: magnet:?xt=urn:btih:9f9c8cab8b68956a25d6e8c190e5e8dc8cf7186c&dn=Backup+of+The+Pirate+Bay+%28IDs%3A+7700000+-+7999999%29&tr=udp%3A%2F%2Ftracker.openbittorrent.com%3A80&tr=udp%3A%2F%2Ftracker.publicbt.com%3A80&tr=udp%3A%2F%2Ftracker.istole.it%3A6969&tr=udp%3A%2F%2Ftracker.ccc.de%3A80
* Pirate Bay Metadata Git Repo: https://github.com/tpb-archive 596MB zip tpb2csv scraped metadata including comments, file lists, descriptions, details. link broken, github censorship?
** IDs 8000000-8999999 tpb2csv scraped metadata not included by "Backup" torrents listed above, fetched on 2013-06-02
* TPB used to make official CSV dumps available under , but these seem to have disappeared sometime between early March and mid-May 2020.
at the end of 2014 there were 11000000 ish torrent ID's
== FAQ ==
=== Is there a complete backup before The Pirate Bay was shut down? ===
We don't know. If we did, it should and would be listed in this page already.
=== I have incomplete/complete archives. What do I do? ===
Upload it to the Internet Archive and put a link in the list. If you can't upload it yourself, ask someone to do it for you.
=== What's with the IsoHunt Old Pirate Bay? ===
We don't know. You can read up on FAQ about IsoHunt wiki page however.
== References ==
Category:Peer to peer