package main import ( "context" "encoding/json" "fmt" "os" toml "github.com/pelletier/go-toml/v2" "google.golang.org/api/option" "google.golang.org/api/youtube/v3" ) type ( Config struct { Google GoogleConfig `toml:"google"` } GoogleConfig struct { ApiKey string `toml:"api_key"` ClientID string `toml:"client_id"` ClientSecret string `toml:"client_secret"` } ) var DEFAULT_TAGS = []string{ "ari melody", "ari melody LIVE", "livestream", "vtuber", "twitch", "gaming", "let's play", "full VOD", "VOD", "stream", "archive", } const ( CATEGORY_GAMING = "20" ) func main() { if len(os.Args) < 2 { fmt.Printf("usage: %s