mesimpler

Results 6 comments of mesimpler

这个API有问题,当修改群名片后它依旧显示未修改前的名片。

> @QiJieH > ![image](https://user-images.githubusercontent.com/6327311/76094527-be29da80-5ffd-11ea-8d25-6ab71ed5f044.png) > 由于手机版QQ不能实时刷新群名片信息,可手动指定`nocache = true`(危险慎用)或等待酷Q刷新缓存。 可以实时获取名片了,为什么这个操作会有危险?

if you just want access any path files, and don't care whatever "security", refer this what provide by chatgpt. set scope all in `src-tauri/tauri.conf.json`: ```json { "tauri": { "allowlist": {...

i think is unnecessary. you can define a adapter function to solve this. config.js is jsut a js object, you can split chunk and import, just ensure final result is...

单论在换一换中实现该功能,和广告不一样短视频在每次轮换中的数量和每个人的大数据推荐相关联,无法预估。 只能依靠将请求视频的 `ps` 参数最大化来确保过滤掉短视频后视频数量能为10。 我的另外一个担忧是过大的 `ps` 参数可能会对用户的大数据推荐造成污染。 个人测试过滤视频时长10分钟以下,设定 `ps` 为30时能有一个良好体验。 ```js const feedNum = 30; // ... res.data.item = res.data.item.filter((video) => { const isAD = video.id === 0; const isShortVid...

提供的思路没问题,我也尝试实现了一下。 原理是代理换一换的请求 `https://api.bilibili.com/x/web-interface/wbi/index/top/feed/rcmd`,在请求发出前修改`ps`参数可以控制返回的`feed`数量,这样就不必发起两次请求,再将响应数据中的广告过滤并将数组裁剪为10即可实现。 `ps`的值的话设置成11可以最小化影响,目前来看每次roll广告数量不会超过1。 目前主要问题是首屏广告无法使用这种方法,b站为了首屏加载优化初次数据貌似不是通过上面的请求获取的,可行的解决方法是首屏加载完成后自动点击一次换一换来过滤首次的广告( [脚本插件](https://greasyfork.org/zh-CN/scripts/493050-bilibili-filter-roll-ads) | [仓库](https://github.com/Mesimpler/violentmonkey-scripts/tree/main/bilibili-filter-roll-ads)