Skip to content

Instantly share code, notes, and snippets.

@cmj
Created October 4, 2026 13:36
Show Gist options
  • Select an option

  • Save cmj/b465a8ad192cf0f78ac1b0c81722f33c to your computer and use it in GitHub Desktop.

Select an option

Save cmj/b465a8ad192cf0f78ac1b0c81722f33c to your computer and use it in GitHub Desktop.
slurp all fitgirl urls
#!/bin/bash
# sequential fuckingfast downloader for fitgirl-repacks
# example:
# $ fitgirl-ff-slurp https://fitgirl-repacks.site/sonic-racing-crossworlds-pc/
ff-slurp() {
curl_ff117 -s "$1" |
sed -En 's|.*<title>(.*)</title>|\1|p;s|.*hx-post="(.*)" hx-swap.*|https://fuckingfast.co\1|p' |
xargs |
while read file redir; do
dlurl=$(curl_ff117 "${redir}" -si -XPOST | sed -En 's/hx-redirect: (.*)\r/\1/p')
wget -O "${file}" "${dlurl}"
done
}
curl -s $1 |
grep fuckingfast.co.*rar |
cut -d\" -f2 |
while read ff; do
ff-slurp $ff
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment