Skip to content

Instantly share code, notes, and snippets.

@michaelcontento
Created May 26, 2011 18:29
Show Gist options
  • Save michaelcontento/993717 to your computer and use it in GitHub Desktop.
Save michaelcontento/993717 to your computer and use it in GitHub Desktop.
Grab profile URLs from Google and extract the users email (if public)
time curl -s http://www.gstatic.com/s2/sitemaps/sitemap-[001-002].txt \
| xargs -P10 -L1 -I{} sh -c "curl -s {} | egrep -o 'profiles.google.com/[^&\"]+' | cut -d'/' -f2 | egrep -v '^[0-9]+$'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment