summaryrefslogtreecommitdiff
path: root/bilibili
diff options
context:
space:
mode:
authorKeuin <[email protected]>2022-09-10 18:35:27 +0800
committerKeuin <[email protected]>2022-09-10 18:35:27 +0800
commitc1b605fca10c0f58c131d5d38084f991b21eae5d (patch)
tree517b67eb136af3e520f1866b72c911296526779f /bilibili
parent5a8b9c508fa186534a134bee2df705d4de95b9d9 (diff)
Rename module path to GitHub repo.
Diffstat (limited to 'bilibili')
-rw-r--r--bilibili/client.go2
-rw-r--r--bilibili/danmaku_server_info.go2
-rw-r--r--bilibili/play_url.go2
-rw-r--r--bilibili/request.go2
-rw-r--r--bilibili/request_test.go2
-rw-r--r--bilibili/room_profile.go2
-rw-r--r--bilibili/room_status.go2
-rw-r--r--bilibili/streaming.go2
8 files changed, 8 insertions, 8 deletions
diff --git a/bilibili/client.go b/bilibili/client.go
index f72432a..65d858f 100644
--- a/bilibili/client.go
+++ b/bilibili/client.go
@@ -5,8 +5,8 @@ This struct is a facade of all necessary Bilibili HTTP API wrappers.
package bilibili
import (
- "bilibili-livestream-archiver/logging"
"context"
+ "github.com/keuin/slbr/logging"
"net"
"net/http"
)
diff --git a/bilibili/danmaku_server_info.go b/bilibili/danmaku_server_info.go
index dbdf6bb..1a91b14 100644
--- a/bilibili/danmaku_server_info.go
+++ b/bilibili/danmaku_server_info.go
@@ -1,8 +1,8 @@
package bilibili
import (
- "bilibili-livestream-archiver/common"
"fmt"
+ "github.com/keuin/slbr/common"
)
type DanmakuServerInfoResponse = BaseResponse[danmakuInfo]
diff --git a/bilibili/play_url.go b/bilibili/play_url.go
index 282d556..36882bc 100644
--- a/bilibili/play_url.go
+++ b/bilibili/play_url.go
@@ -1,8 +1,8 @@
package bilibili
import (
- "bilibili-livestream-archiver/common"
"fmt"
+ "github.com/keuin/slbr/common"
)
type RoomUrlInfoResponse = BaseResponse[roomUrlInfo]
diff --git a/bilibili/request.go b/bilibili/request.go
index 7de35d3..b740f6b 100644
--- a/bilibili/request.go
+++ b/bilibili/request.go
@@ -1,8 +1,8 @@
package bilibili
import (
- "bilibili-livestream-archiver/common"
"encoding/json"
+ "github.com/keuin/slbr/common"
"io"
"log"
"net"
diff --git a/bilibili/request_test.go b/bilibili/request_test.go
index 58b7127..ed7d33e 100644
--- a/bilibili/request_test.go
+++ b/bilibili/request_test.go
@@ -1,7 +1,7 @@
package bilibili
import (
- "bilibili-livestream-archiver/logging"
+ "github.com/keuin/slbr/logging"
"log"
"testing"
)
diff --git a/bilibili/room_profile.go b/bilibili/room_profile.go
index d75d447..9eed175 100644
--- a/bilibili/room_profile.go
+++ b/bilibili/room_profile.go
@@ -1,8 +1,8 @@
package bilibili
import (
- "bilibili-livestream-archiver/common"
"fmt"
+ "github.com/keuin/slbr/common"
)
type roomProfile struct {
diff --git a/bilibili/room_status.go b/bilibili/room_status.go
index 6b6495b..fc6219a 100644
--- a/bilibili/room_status.go
+++ b/bilibili/room_status.go
@@ -5,8 +5,8 @@ This is used to check initially if it is streaming or not.
package bilibili
import (
- "bilibili-livestream-archiver/common"
"fmt"
+ "github.com/keuin/slbr/common"
)
type LiveStatus int
diff --git a/bilibili/streaming.go b/bilibili/streaming.go
index 7ad852c..308f06a 100644
--- a/bilibili/streaming.go
+++ b/bilibili/streaming.go
@@ -1,10 +1,10 @@
package bilibili
import (
- "bilibili-livestream-archiver/common"
"context"
"errors"
"fmt"
+ "github.com/keuin/slbr/common"
"net/http"
"os"
"strings"