From 177ecb3de2f9ca8e23c3eeb19b6875a0c6593355 Mon Sep 17 00:00:00 2001 From: Keuin Date: Thu, 8 Sep 2022 13:27:37 +0800 Subject: Support specify IP network type (ipv4, ipv6, in arbitrary combination and priority) --- bilibili/streaming.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bilibili/streaming.go') diff --git a/bilibili/streaming.go b/bilibili/streaming.go index 4ca8682..e8a6911 100644 --- a/bilibili/streaming.go +++ b/bilibili/streaming.go @@ -32,7 +32,7 @@ func (b Bilibili) CopyLiveStream( r.Header.Set("Referer", fmt.Sprintf("https://live.bilibili.com/blanc/%d?liteVersion=true", roomId)) - resp, err := b.http.Do(r) + resp, err := b.Do(r) if err != nil { b.error.Printf("Cannot make HTTP GET request on %v: %v\n", url, err) return -- cgit v1.2.3