https://github.com/ryan1068/stock-spider
https://github.com/ryan1068/stock-spider
go spider
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryan1068/stock-spider
- Owner: ryan1068
- Created: 2020-03-19T08:55:23.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T06:01:33.000Z (over 3 years ago)
- Last Synced: 2025-03-24T09:46:56.659Z (over 1 year ago)
- Topics: go, spider
- Language: Go
- Homepage:
- Size: 105 KB
- Stars: 38
- Watchers: 2
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
本项目是用go语言写的抓取股票数据爬虫。
## 特点
1. 使用go协程、channel、数据库连接池特性,30s秒内抓取所有A股股票自定义时间段数据。
2. 程序执行时进度条显示。
3. 可以自定义时间段查询。
4. 请求执行结果记录日志。
## 使用方式:
```go
//默认抓取近七天数据
go run main.go
//抓取自义定时间段数据
go run main.go -start=20200225 -end=20200325
```
