19 lines
365 B
Bash
Executable File
19 lines
365 B
Bash
Executable File
#!/bin/bash
|
|
if [ -z "$1" ]; then
|
|
echo "Need search terms"
|
|
exit 1;
|
|
fi
|
|
|
|
source /opt/aninix/Uniglot/Bash/header
|
|
header Configuring...
|
|
if [ -z "$2" ]; then
|
|
configuretorrent /usr/local/etc/WolfPack/torrentengine
|
|
else
|
|
configuretorrent "$2"
|
|
fi
|
|
|
|
header Getting magnet link.
|
|
getmagnetlink "$(echo $1 | tr '#' "$searchunifier")"
|
|
echo
|
|
echo Found: $magnetlink
|