2020-07-10 04:05:33 +00:00
|
|
|
package main
|
|
|
|
|
2020-07-17 10:21:38 +00:00
|
|
|
import (
|
|
|
|
"net/http"
|
|
|
|
_ "net/http/pprof"
|
|
|
|
)
|
|
|
|
|
2020-07-10 08:13:08 +00:00
|
|
|
/*
|
|
|
|
`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,
|
2020-07-10 10:31:17 +00:00
|
|
|
`channel` varchar(128) DEFAULT NULL, // 没有分类
|
2020-07-10 08:13:08 +00:00
|
|
|
`show_type` varchar(255) DEFAULT NULL,
|
|
|
|
*/
|
|
|
|
|
2020-07-10 04:05:33 +00:00
|
|
|
func main() {
|
2020-07-17 10:21:38 +00:00
|
|
|
|
|
|
|
go func() {
|
|
|
|
http.ListenAndServe("0.0.0.0:8899", nil)
|
|
|
|
}()
|
|
|
|
|
2020-07-16 08:22:14 +00:00
|
|
|
oe := &OpenrecExtractor{}
|
|
|
|
oe.Execute()
|
2020-07-10 04:05:33 +00:00
|
|
|
}
|