Run new torrents fetcher with new torrents by seeder count. Fixes #45

This commit is contained in:
Dessalines 2019-02-07 08:39:42 -08:00
parent 90329ebae3
commit ca6c232f4b
1 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# This fetches from several torrent websites for new updates
mkdir ../torrents
cd ../new_torrents_fetcher
cargo run --release -- -s ../torrents -t ../torrents.csv
sort -r --field-separator=';' -n --key=5 ../torrents.csv > ../torrents.csv.seeders.desc
cargo run --release -- -s ../torrents -t ../torrents.csv.seeders.desc
rm ../torrents.csv.seeders.desc
cd ../scripts
. scan_torrents.sh torrents