This is a scraper written in bash for hd-space.org.
hd-space is a private tracker currently accepting open invites.
Their website kind of sucks for navigation but I made this to get all the links for the .torrent files that are set to freeleech.
The first argument is the starting page. The second argument is the ending page.
You need to replace the variable for your cookie. In Firefox, get this by hitting F12, going to the network tab, opening the side panel, and finding the variable for "Cookie". For me, this is the second to the bottom one.
Some parts weren't implemented in the best possible way, but instead in the way that I'm used to doing it. Most of my shell scripting in daily life is done on an SCO server from 2003, so I have limited utilities to work with.
gplv3, so feel free to tell me I'm retarded and post a better version
Post too long. Click here to view the full text.
#usage: ./hd.sh STARTINGPAGE ENDINGPAGE
#starting and ending page go from 0 to however high it goes.