Skip to content

ks6088ts/scraper-go

Repository files navigation

test Go Report Card GoDoc

scraper-go

Template repository for Go

commands

browser

scrape elements matched with the specified XPATH with browser

Prerequisites

# help for browser
scraper-go browser --help

# scrape webpage
scraper-go browser \
    --mode chrome
    --xpath //a/article/h1 \
    --url https://search.yahoo.co.jp/realtime