Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zztkm/goquery-example
https://github.com/zztkm/goquery-example
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/zztkm/goquery-example
- Owner: zztkm
- Created: 2022-08-26T07:22:13.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-08-26T08:10:29.000Z (over 2 years ago)
- Last Synced: 2024-12-20T23:29:49.923Z (17 days ago)
- Language: Go
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# goquery example
## 実行
```
go get -u
```引数にページのURLを入れる
```
go run main.go https://fortune.yahoo.co.jp/12astro/20190922/scorpio.html
```## Build
for windows
```
GOOS=windows GOARCH=amd64 go build -o bin/goquery-example -trimpath
```## 参考
- [【Go】Webスクレイピングのやり方 - Qiita](https://qiita.com/koki_develop/items/dab4bcbb1df1271a17b6)