王翼翔
王翼翔
@cxw620 Thanks a lot. I've successfully activated the `buvid`. Here's the code: [generate _uuid](https://github.com/kingwingfly/backup/blob/489ac35e1ee17fe7ebb3748274eec789b4247631/src/api/auth/active.rs#L83) (refactored) [generate buvid_fp](https://github.com/kingwingfly/backup/blob/489ac35e1ee17fe7ebb3748274eec789b4247631/src/api/auth/active.rs#L102) (keep the same) The response json is ``` Object { "code": Number(0), "data":...
> User-Agent? I strongly suggest that you add any headers like a real browser will send. I’m afraid that it is not the cause for my managing to invoke with...
> I’m afraid that it is not the cause for my managing to invoke with the cookies from browser, without anything except params, SESSDATA and buvid3. 我的意思是:复制浏览器中的SESSDATA,buvid3,csrf,不需要UA,是可以成功调用点赞API的。这说明这个API是不检查UA的。 刚才我给激活buvid和点赞都带上了UA,依然不行。返回的还是-403 账号异常,操作失败。 用爬虫的SESSDATA和浏览器的buvid3请求,也是-403,说明二者是绑定的。于是猜测可能是激活的时候信息没带够(Cookie只带了buvid3...
> 这里都是国人...不用强迫自己翻译吧... 哈哈,主要是我也习惯在GitHub用英语,关键是自己的英语比较塑料。刚写的那个句子ChatGPT都没翻译对,我的表达有问题,让大佬误解了,所以解释一下。 然后,破案了。是我测试用的视频的up主的问题,换个bv号就好了。 https://github.com/SocialSisterYi/bilibili-API-collect/issues/795#issuecomment-1913524156
EDIT:游客获取鸭,打扰了(doge) 我使用这种方式获取的buvid来调用视频点赞的API有点问题 ```sh $ curl "https://api.bilibili.com/x/web-interface/archive/like?bvid=xxx&like=1&csrf=xxx" \ -H "Cookie: SESSDATA=xxx; buvid3=60CFFD2A-5D28-97BC-A6FD-75838D5CD72330730infoc" \ -X POST Object { "code": Number(-403), "message": String("账号异常,操作失败"), "ttl": Number(1), } ``` 使用浏览器里copy的没有问题。 只需要SESSDATA的其他API也没问题,csrf也没问题,就是buvid不太对。
@z0z0r4 我看 #933 的意思似乎是 buvid 还需要激活。 但是我激活了,也没成功用它完成点赞API的调用。可能是我犯了其他低级错误。 如果确实可以直接用请求到的buvid调用点赞API的话,麻烦帮我再确认一下(🙏ˊᗜˋ*),我好继续排查。 如果有兴趣,也可以帮我康康 [code](https://github.com/kingwingfly/backup/blob/deff82dad42253da1ca68a800b5103b938da60ba/src/api/like.rs#L7)
@z0z0r4 确实。 我测试用的 BVID是 `BV1GQ4y177Dv`。 ``` { "code": Number(-403), "message": String("账号异常,操作失败"), "ttl": Number(1), } ``` 换了 `BV1aT4y1h71M` 就可以了。 ``` { "code": Number(65006), "message": String("已赞过"), "ttl": Number(1), } ``` 居然是Up主的账号异常。。。。。。。。太逆天了…… Edit:离谱的是从浏览器复制的...
It’s not silky smooth to use for me also. However, I could give a relatively silky example. ```rust #[trait_variant::make(Test: Send)] trait LocalTest { // Below can not work (`Result` is...
Hi, @madsmtm . I just ran into the same problem that `SCStreamDelegate` and `SCStreamOutput` not being called. For example, this is how I define the class: ```rust #[derive(Debug)] pub(crate) struct...
+1 我主要是macOS TUN 模式寄了,google和youtube红了。 Proxy模式打开,正常用,但是关了还能google 一会儿。。。 Linux下暂时完美运行