Skip to content

Instantly share code, notes, and snippets.

@tomdwaggy
Created September 14, 2015 03:24
Show Gist options
  • Save tomdwaggy/05e2a8e8b725b6b706cb to your computer and use it in GitHub Desktop.
Save tomdwaggy/05e2a8e8b725b6b706cb to your computer and use it in GitHub Desktop.
View FurAffinity links in Linux Console
#!/bin/sh
if [ $2 != "" ]; then
tmpfile=$2
else
tmpfile=/tmp/tmpimage
fi
viewpic=fim
curl http:`curl -L $1 | grep Download | cut -d "\"" -f 2` > $tmpfile
$viewpic -o fb $tmpfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment