Last active
May 28, 2018 23:12
-
-
Save Lerie82/1113a9749f5c6028b4a736fea0df5ba7 to your computer and use it in GitHub Desktop.
ubuntu command like search thepiratebay.org
This file contains 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/sh | |
#supply an argument to the script | |
curl -s https://thepiratebay.org/search/$1/0/99/200 >search | |
grep -oP '(magnet[:][?].+?)\"' search |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment