Template repository for Go
scrape elements matched with the specified XPATH with browser
Prerequisites
- install Google Chrome
- set PATH to chromedriver
# 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