Skip to content

Instantly share code, notes, and snippets.

@mrbrutti
Created November 27, 2009 18:33
Show Gist options
  • Save mrbrutti/244157 to your computer and use it in GitHub Desktop.
Save mrbrutti/244157 to your computer and use it in GitHub Desktop.
search = ESearchy::Search.new(:query => "@pirulo.com",
:company => "Pirulo Company",
:website => "https://www.pirulo.com",
:maxhits => 1000,
:log => true )
search.start do |s|
s.Emails(:Google,:Altavista,:Yahoo,:Bing,:Spider) do |e|
e.Yahoo.appid= "aaaaaaaaaaaaaaaaaaaaaaaaa"
e.Bing.appid= "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
e.search
end
s.People(:LinkedIn, :GoogleProfiles, :Naymz, :Classmates) do |p|
p.search
end
end
puts "-------RESULTS--------"
puts search.emails
puts search.people
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment