summaryrefslogtreecommitdiff
path: root/main.go
blob: 116d1563d168f5dd8c9790f11c53a6457b53d8ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package main

import (
	"flag"

	"github.com/sjlleo/netflix-verify/printer"
	"github.com/sjlleo/netflix-verify/verify"
)

// var method = flag.String("method", "", "模式选择(full/lite)")
var custom = flag.String("custom", "", "自定义测试NF影片ID\n绝命毒师的ID是70143836")
var address = flag.String("address", "", "本机网卡的IP")

func main() {

	flag.Parse()

	r := verify.NewVerify(verify.Config{
		LocalAddr: *address,
		Custom:    *custom,
	})

	printer.Print(*r)
}