-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d658675
commit 7a8e7b4
Showing
7 changed files
with
488 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
gem 'faraday', '~> 2.7', '>= 2.7.9' | ||
gem 'json', '~> 2.6', '>= 2.6.3' | ||
gem 'optparse', '~> 0.3.1' | ||
gem 'concurrent-ruby', '~> 1.2', '>= 1.2.2' | ||
gem 'csv', '~> 3.2', '>= 3.2.7' | ||
gem 'zlib', '~> 3.0' | ||
gem 'stringio', '~> 3.0', '>= 3.0.7' | ||
gem 'brotli', '~> 0.4.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
PATH | ||
remote: . | ||
specs: | ||
clauneck (0.0.1) | ||
brotli (~> 0.4.0) | ||
concurrent-ruby (~> 1.2, >= 1.2.2) | ||
csv (~> 3.2, >= 3.2.7) | ||
faraday (~> 2.7, >= 2.7.9) | ||
json (~> 2.6, >= 2.6.3) | ||
optparse (~> 0.3.1) | ||
stringio (~> 3.0, >= 3.0.7) | ||
zlib (~> 3.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
brotli (0.4.0) | ||
concurrent-ruby (1.2.2) | ||
csv (3.2.7) | ||
faraday (2.7.9) | ||
faraday-net_http (>= 2.0, < 3.1) | ||
ruby2_keywords (>= 0.0.4) | ||
faraday-net_http (3.0.2) | ||
json (2.6.3) | ||
optparse (0.3.1) | ||
ruby2_keywords (0.0.5) | ||
stringio (3.0.7) | ||
zlib (3.0.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
brotli (~> 0.4.0) | ||
clauneck! | ||
concurrent-ruby (~> 1.2, >= 1.2.2) | ||
csv (~> 3.2, >= 3.2.7) | ||
faraday (~> 2.7, >= 2.7.9) | ||
json (~> 2.6, >= 2.6.3) | ||
optparse (~> 0.3.1) | ||
stringio (~> 3.0, >= 3.0.7) | ||
zlib (~> 3.0) | ||
|
||
BUNDLED WITH | ||
2.4.12 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require_relative '../lib/clauneck' | ||
|
||
Clauneck.run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Gem::Specification.new do |s| | ||
s.name = 'clauneck' | ||
s.version = '0.0.1' | ||
s.date = '2023-07-05' | ||
s.summary = "Custom Lead Acquisition Using Next-Generation Extraction and Collection Kit" | ||
s.description = "A tool for scraping emails, social media accounts, and many more information from websites using Google Search Results." | ||
s.authors = ["Emirhan Akdeniz"] | ||
s.email = '[email protected]' | ||
s.files = ["lib/clauneck.rb", "bin/clauneck"] | ||
s.homepage = 'https://github.com/serpapi/clauneck' | ||
s.license = 'MIT' | ||
s.require_paths = ["lib"] | ||
s.bindir = 'bin' | ||
s.executables = ["clauneck"] | ||
s.add_dependency 'faraday', '~> 2.7', '>= 2.7.9' | ||
s.add_dependency 'json', '~> 2.6', '>= 2.6.3' | ||
s.add_dependency 'optparse', '~> 0.3.1' | ||
s.add_dependency 'concurrent-ruby', '~> 1.2', '>= 1.2.2' | ||
s.add_dependency 'csv', '~> 3.2', '>= 3.2.7' | ||
s.add_dependency 'zlib', '~> 3.0' | ||
s.add_dependency 'stringio', '~> 3.0', '>= 3.0.7' | ||
s.add_dependency 'brotli', '~> 0.4.0' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require './lib/clauneck' | ||
|
||
api_key = "<SerpApi API Key>" # Visit https://serpapi.com/users/sign_up to get free credits. | ||
proxy = "proxies.txt" # Only HTTP Proxies are accepted | ||
params = { | ||
"q": "site:*.ai AND inurl:/contact OR inurl:/contact-us" | ||
} | ||
|
||
Clauneck.run(api_key: api_key, params: params, proxy: proxy, pages: 2) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
www.serpapi.com,[email protected],Email | ||
www.serpapi.com,serpapicom,Instagram | ||
www.serpapi.com,serpapicom,Facebook | ||
www.serpapi.com,serp_api,Twitter | ||
www.serpapi.com,null,Tiktok | ||
www.serpapi.com,channel/UCUgIHlYBOD3yA3yDIRhg_mg,Youtube | ||
www.serpapi.com,serpapi,Github | ||
www.serpapi.com,serpapi,Medium |
Oops, something went wrong.