Skip to content

Instantly share code, notes, and snippets.

@specious
Last active November 23, 2017 12:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save specious/397de168f783bbdb7d5e to your computer and use it in GitHub Desktop.
Save specious/397de168f783bbdb7d5e to your computer and use it in GitHub Desktop.
Get short url for meetup event
#!/bin/bash
#
# Example usage:
# $0 http://www.meetup.com/diningout-792/events/226401363/
if [ $# -lt 1 ]
then
echo "Usage: $0 <url>"
exit 1
fi
echo -e "https://$(curl -sL $1 | egrep -o 'meetu.ps/[0-9a-zA-Z]+')"
@specious
Copy link
Author

specious commented Nov 3, 2015

Install on Linux / OS X with:

curl -Ls http://bit.ly/1HppQks > /usr/local/bin/meetup && chmod +x /usr/local/bin/meetup

@vitormattos
Copy link

Don't work more in new meetup interface. :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment