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

import (
	"flag"

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

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)
}