e1040e69cd
2.重构数据字段结构, 使数据合理性提高. 3.测试通过openrec获取数据完整性. TODO: 测试时区问题.
27 lines
479 B
Go
27 lines
479 B
Go
package main
|
|
|
|
import (
|
|
"net/http"
|
|
_ "net/http/pprof"
|
|
)
|
|
|
|
/*
|
|
`uid` varchar(36) NOT NULL,
|
|
`platform` varchar(255) NOT NULL,
|
|
`anchor_id` varchar(255) NOT NULL,
|
|
`anchor_name` varchar(255) NOT NULL,
|
|
`live_url` text,
|
|
`channel` varchar(128) DEFAULT NULL, // 没有分类
|
|
`show_type` varchar(255) DEFAULT NULL,
|
|
*/
|
|
|
|
func main() {
|
|
|
|
go func() {
|
|
http.ListenAndServe("0.0.0.0:8899", nil)
|
|
}()
|
|
|
|
oe := &OpenrecExtractor{}
|
|
oe.Execute()
|
|
}
|