Hugo
Hugo
``` go imageUrl := "http://i0.hdslb.com/bfs/archive/d1e7425c509776a6a11e19f4b2afbfb0e5c927e8.jpg" videoUrl := "https://www.bilibili.com/video/BV1CS4y1v7nr" title := "测试标题" content := "测试内容" send := message.NewUrlShare(videoUrl, title, content, imageUrl) mes := message.NewSendingMessage().Append(send) logger.Infof("sending message!!!!") b.SendGroupMessage(12345678, mes) ``` 尝试使用如上样例代码向测试群发送链接分享。确保登录账号处于测试群内,但并没有看到机器人发送任何消息。 已经测试过:...
I run into the issue below when I tried to copy the code in `app.go` into an empty directory initialized with `go mod init && go mod tidy`: ``` package...
以下API似乎可以得到指定用户的所有粉丝勋章信息,需要处于登陆状态: ``` https://api.live.bilibili.com/xlive/web-ucenter/user/MedalWall?target_id= ``` 样例请求: ``` https://api.live.bilibili.com/xlive/web-ucenter/user/MedalWall?target_id=621179304 ``` 样例响应: ``` { "code": 0, "message": "0", "ttl": 1, "data": { "list": [ { "medal_info": { "target_id": 621179304, "level": 10, "medal_name": "阿酥酥",...
因为B站的反爬虫机制,使用以下API最多只能获取500个关注用户: ``` https://api.bilibili.com/x/relation/followers?vmid=xxxx&pn=1&ps=50&order=desc https://api.bilibili.com/x/relation/followers?vmid=xxxx&pn=1&ps=50&order=asc ``` 最近发现似乎可以通过以下API来获取所有关注用户: ``` https://account.bilibili.com/api/member/getCardByMid?mid=xxxx ``` 以B站用户ID 20183900举例,该用户的关注列表总共含有1998人, 访问以上API: ``` https://account.bilibili.com/api/member/getCardByMid?mid=20183900 ``` ``` json { "ts": 1658292082, "code": 0, "card": { "mid": "20183900", "name": "寄思", "approve": false,...
- Added dev container configuration to ease develpment process - Fixed a bug in uploader code According to [Processor.py - Line198](https://github.com/AsaChiri/DDRecorder/blob/a8c55392f419355b3704fd74f129fdbae31cc01a/Processor.py#L198), clip file has the following format: ``` python3 {self.room_id}_{self.global_start.strftime('%Y-%m-%d_%H-%M-%S')}_{hours:02}-{minutes:02}-{seconds:02}_{outhint}.mp4"...
ASP.NET core has this `razor page` way to deal with web application development. I was trying to do use this awesome adaptor pattern to mock TryUpdateModelAsync method for PageModel class....