Created
March 23, 2024 02:21
-
-
Save scumdestroy/e8318519cb11405611031bdbfae25c4a to your computer and use it in GitHub Desktop.
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 | |
# Hey there my friend. If you are not JANN, you will likely need to update this script with the location of discraper.py | |
# May this tool help you be two shakes of a lamb's tail lazier and leave a little more room in your mind for remembering statistics about CENSOREDINFORMATION for your grocery store cashiers | |
if [ -z "$1" ]; then | |
echo "Please provide a URL as an argument." | |
exit 1 | |
fi | |
case "$1" in | |
http://* | https://* ) url="$1" ;; | |
* ) url="http://$1" ;; | |
esac | |
python3 /root/bb/dirscraper/dirscraper.py -u $1 -o softbodyboy | |
sed -i 's/^\///g' softbodyboy | |
echo $1 | unfurl format %d%p | sed 's/\//\-/g' > /tmp/boydrice | |
mv softbodyboy dirscraper-$(cat /tmp/boydrice) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment