]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve biliApi
authorqydysky <qydysky@foxmail.com>
Tue, 23 Apr 2024 15:47:16 +0000 (15:47 +0000)
committerqydysky <qydysky@foxmail.com>
Tue, 23 Apr 2024 15:47:16 +0000 (15:47 +0000)
F/biliApiInterface.go
go.mod
go.sum

index 6398583821cf5e0c8f10c572ad5edd69c8579f6c..0683fd6f39cb0e04ab142ce77cf138cfdb104e45 100644 (file)
@@ -65,24 +65,3 @@ type biliApiInter interface {
                }
        })
 }
-
-type Streams []struct {
-       ProtocolName string
-       Format       []struct {
-               FormatName string
-               Codec      []struct {
-                       CodecName string
-                       CurrentQn int
-                       AcceptQn  []int
-                       BaseURL   string
-                       URLInfo   []struct {
-                               Host      string
-                               Extra     string
-                               StreamTTL int
-                       }
-                       HdrQn     any
-                       DolbyType int
-                       AttrName  string
-               }
-       }
-}
diff --git a/go.mod b/go.mod
index 3cd249e8f80b212d8d52ee41a09a733a1955d631..415fa19d53c741d71115379b9c599ed1af33c090 100644 (file)
--- a/go.mod
+++ b/go.mod
@@ -13,7 +13,7 @@ require (
 
 require (
        github.com/google/uuid v1.6.0
-       github.com/qydysky/biliApi v0.0.0-20240418180924-1e3a421ae4a8
+       github.com/qydysky/biliApi v0.0.0-20240423154430-977d1e8a7603
        golang.org/x/exp v0.0.0-20240416160154-fe59bbe5cc7f
 )
 
diff --git a/go.sum b/go.sum
index b8ced2bec5a6b275619c62df8ab6629202c14082..28c46b22f3cf0766e406866437dfb9562d7d5d6f 100644 (file)
--- a/go.sum
+++ b/go.sum
@@ -46,8 +46,8 @@ github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdh
 github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls=
 github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
 github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
-github.com/qydysky/biliApi v0.0.0-20240418180924-1e3a421ae4a8 h1:t4sclQifEHZITAIeE9dDSobyAGhIo0QHiIVOsB+tJMA=
-github.com/qydysky/biliApi v0.0.0-20240418180924-1e3a421ae4a8/go.mod h1:81lx2cYjv590O3ZK1AVtnLJ8JMXMluMtyB1NGAlTuPM=
+github.com/qydysky/biliApi v0.0.0-20240423154430-977d1e8a7603 h1:UJ5DOY3EA9BSSfWE92I6gUjP1frgz1xnDGhW8/LuvWI=
+github.com/qydysky/biliApi v0.0.0-20240423154430-977d1e8a7603/go.mod h1:nhubuLaNo2LIkgoCt++A5KNtra53ttGPXsahjaGXCl4=
 github.com/qydysky/part v0.28.20240422183953 h1:r8kZFzSIqNbFOOuFBJw5aobwLZ/fQ6GaEez5082aJEY=
 github.com/qydysky/part v0.28.20240422183953/go.mod h1:VMq3GnrK1/7zUufW3foG5oLAk9dw567JmuMyKPTGswc=
 github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE=