Go to file
Dessalines 1f31cefc67 Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
.gitignore Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
LICENSE Script mostly working. 2018-10-04 13:23:57 -07:00
README.md Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
add_torrents.sh Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
prune.sh Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
scrape.sh Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00
search.sh Import of TPB Jan 2017 backup. Updating search and add scripts. Adding prune.sh 2018-10-07 22:43:12 -07:00

README.md

Torrents.csv

Torrents.csv is a vetted database of torrents, consisting of a single, searchable torrents.csv file.

Searching

To find torrents run ./search.sh "frasier s01"

Frasier S01-S11 (1993-)
	seeders: 33
	size: 13GiB
	link: magnet:?xt=urn:btih:3cc5142d0d139bcc9ea9925239a142770b98cf74

To add your own torrents, run ./add_torrents.sh MY_TORRENTS_DIR

Uploading

An upload, consists of making a pull request after running the add_torrents.sh script, which adds torrents from a directory to the .csv file, after checking that they aren't already there, and that they have seeders.

Click here to fork this repo.

git clone https://gitlab.com/[MY_USER]/torrents.csv
cd torrents.csv
./add_torrents.sh MY_TORRENTS_DIR # `MY_TORRENTS_DIR` is `~/.local/share/data/qBittorrent/BT_backup/` for qBittorrent on linux, but you can search for where your torrents are stored for your client.
git commit -am "Adding my torrents"
git push

Then click here to do a pull/merge request to my branch.

How the file looks

infohash;name;size_bytes;created_unix;seeders;leechers;completed;scraped_date
# torrents here...

Requirements

Searching

Uploading

Other info

Torrents.csv will only store torrents with at least one seeder to keep the file small, and will be periodically purged of non-seeded torrents, and sorted by seeders descending.

Its initially populated with a January 2017 backup of the pirate bay, but eventually scripts will be written that pull in new torrents daily.

Potential sources for new torrents