Skip to content

Instantly share code, notes, and snippets.

@harrisony
Created April 7, 2013 01:26
Show Gist options
  • Save harrisony/5328444 to your computer and use it in GitHub Desktop.
Save harrisony/5328444 to your computer and use it in GitHub Desktop.
quick down for everyone or just me check
#!/bin/sh
wget -q -O - "http://downforeveryoneorjustme.com/$1" | grep -E '.*class="domain"' | sed 's/<a href.*>\(.*\)<\/a>/\1/' | sed 's/<\/span>//'
@kanerogers
Copy link

parsing html with regexes again??

stay classy, @harrisony

@harrisony
Copy link
Author

@kanerogers ❤️ made my day seeing that comment 😄

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