Skip to content

Instantly share code, notes, and snippets.

@MadanThangavelu
Created December 6, 2012 23:40
Show Gist options
  • Save MadanThangavelu/4229448 to your computer and use it in GitHub Desktop.
Save MadanThangavelu/4229448 to your computer and use it in GitHub Desktop.
Unshorten a adfly url
Just for fun, a commandline unshortner.
curl -i http://adf.ly/FPAiw | grep -o '/go.*' | sed "s/\';//" | xargs -I parturl curl -I http://adf.lyparturl | grep -o http.*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment