Created
October 7, 2012 19:00
-
-
Save Famicoman/3849241 to your computer and use it in GitHub Desktop.
ThePirateBay User Magnet Link Ripper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Rips all the magnet links for a TPB User | |
#Usage: ./tpb-ripper.sh $user $numpages | |
#Where $user is the user and $numpages is the # pages for their profile | |
for i in {0..$2} | |
do | |
curl "http://thepiratebay.se/user/$1/$i/3" | grep -o 'magnet.*\0"' | sed 's/\(.*\)./\1/' | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment