mirror of
https://github.com/SocialSisterYi/bilibili-API-collect.git
synced 2025-03-21 22:00:09 +08:00
bv号av号转换算法本质上是一种修改过的 base58 运算,参与运算的类型都是 整数类型,所以不应该使用浮点数除法 /= 而应该使用整数除法 //= 这也修复了 mypy 的类型不匹配报错,tmp 变量被推断为整数,而 `tmp /= BASE` 相当于 `tmp = tmp / BASE`,将浮点数赋值给整数,类型不匹配 |
||
---|---|---|
.. | ||
sign | ||
bvid_desc.md | ||
device_identity.md | ||
errcode.md | ||
picture.md | ||
time_stamp.md |