Colerar

Results 14 issues of Colerar

https://live-trace.bilibili.com/xlive/rdata-interface/v1/heartbeat/webHeartBeat GET 应该需要 cookie 鉴权 目测可能和人气计算和「小心心」领取相关 参数|内容 ---|--- hb|heartbeat 正文,使用 base64 编码 pf|platform 可为 `web` 示例返回 ```jsonc { "code": 0, "message": "0", "ttl": 1, "data": { "next_interval": 14 } }...

可通过专栏对应链接: https://www.bilibili.com/read/cvXXXX HTML返回中的 `__INITIAL_STATE__` 获取相关数据。 主要有用的是所属文集rlid以及正文内容. 正则匹配: ``` window.__INITIAL_STATE__=(\{[\S\s\r\n]+}); ``` 分组捕获 $1. 具体结构可见: [ArticleDetailedData.kt](https://github.com/SDLMoe/Yabapi/blob/kotlin-mt/yabapi-core/src/commonMain/kotlin/moe/sdl/yabapi/data/article/ArticleDetailedData.kt) 返回样本: ```json { "cvid": 15018651, "readInfo": { "id": 15018651, "category": { "id": 5, "parent_id": 2, "name":...

新增/add

1. Different Spectrum Mapping, likes in Adobe Audition, from linear to logarithmic. > In fact, there is a PR #94, and it works well for me. Maybe this branch is...

比如: `bdex://68af69df51f66590065d2f6896edd299f8665e91` 下载后使用 vips 解码为未压缩格式: ``` vips pngsave 68af69df51f66590065d2f6896edd299f8665e91.png output.png --compression 0 ``` 通过二进制编辑器打开,可以发现原来的 JSON 信息已被更改: 而正常的类似这样: 而传正常图像重新下载后,连 hash 都不会变。

貌似现在的 AutoSavePluginData 在增删字段时会丢失数据,该行为无法自定义。据我所知 [kotlin.serialization.json](https://github.com/Kotlin/kotlinx.serialization/blob/master/docs/json.md#json-configuration) 提供了一套多样化的配置选项。但现在的序列化实现不是[引擎无关的](https://github.com/mamoe/mirai/blob/80fa25c316700b7fae9970dad3e65126083f0bfc/mirai-console/backend/mirai-console/src/internal/data/serializerHelper.kt#L69)。 这是由于什么的 trade off? 另:后续是否有从反射实现切换到 KAPT or KSP 的计划

N
t:problem
s:core

e.g. https://github.com/burn-rs/burn/blob/fb2a71bb81e1a688b4cdae38729b24dd9361283f/burn-core/src/config.rs#L47 This allow caller pass `PathBuf`, `String`, `&str` and [all types implemented `AsRef`](https://doc.rust-lang.org/stable/std/convert/trait.AsRef.html#implementors), and it's API-compatible, it won't break any existing code.

enhancement
good first issue

[Unicode® Standard Annex #15](https://www.unicode.org/reports/tr15/) [unicode-rs/unicode-normalization](https://github.com/unicode-rs/unicode-normalization) NFC and NFD are particularly beneficial for macOS users. While APFS supports both NFC and NFD, many macOS APIs and applications automatically convert filenames to...

enhancement

其实只用带正常浏览器 UA 访问一下 `https://www.bilibili.com/` 即会下发 `Set-Cookie` 头,可通过对应框架的 cookie jar 功能获取: ```bash ❯ curl 'https://www.bilibili.com/' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/116.0' --compressed --cookie-jar output.txt >...

新增/Add
主站杂项/Misc

Balloon hashing ([Wikipedia](https://en.wikipedia.org/wiki/Balloon_hashing)), is similar to Argon2, which has proven memory-hardness properties. But it claims to match the performance of similar algorithms. It seems easy to implement. And it is...

priority: medium
status: confirmed
type: feature request