6

GitHub - jerlendds/serp-search: a cli google crawler written in go

 1 year ago
source link: https://github.com/jerlendds/serp-search
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

serp-search

A work-in-progress Google and Google CSE CLI crawler...

go build -o toolbox

./toolbox google search -p 2 -o json -f google-results.json --query "how to cast to int js"

./toolbox google search -p 2 --output tui -q "how to cast to int js"

./toolbox google search -h
# Usage:
#   toolbox google search [flags]

# Flags:
#   -f, --file string     specify the path where results will be saved
#   -h, --help            help for search
#   -o, --output string   specify the output format (json,tui) (default "json")
#   -p, --pages string    Total number of pages to scrape (default "1")
#   -q, --query string    The google search query

demo

License


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK