Skip to content

Instantly share code, notes, and snippets.

@vjo
Created April 23, 2014 14:23
Show Gist options
  • Select an option

  • Save vjo/11217190 to your computer and use it in GitHub Desktop.

Select an option

Save vjo/11217190 to your computer and use it in GitHub Desktop.
Curl and echo a followers_count from Twitter account
f=$(curl -Ls twitter.com/y3ty | grep -Po '(?<=followers_count&quot;:)[0-9]+'); echo $f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment