Coder Social home page Coder Social logo

Comments (8)

duzhaokun123 avatar duzhaokun123 commented on June 19, 2024

似乎 29460791296 及以上都不是合法的 aid

from bilibili-api-collect.

SeaHOH avatar SeaHOH commented on June 19, 2024

你单个试肯定没法,数量太庞大。
我问的是怎么确定。如果已经有大于这个数的 ID 出现,可以用算法验证,反之,是否是哪里相关代码泄漏?

from bilibili-api-collect.

duzhaokun123 avatar duzhaokun123 commented on June 19, 2024

你单个试肯定没法,数量太庞大。
我问的是怎么确定。如果已经有大于这个数的 ID 出现,可以用算法验证,反之,是否是哪里相关代码泄漏?

原来是我测试时用 java , 数是用 long 存的导致的判断错误, 用 python 算回去的时候是相同的

原来我用的和这里提供的不是一个算法, 我用的 https://www.zhihu.com/question/381784377/answer/1099438784

from bilibili-api-collect.

SocialSisterYi avatar SocialSisterYi commented on June 19, 2024

请问 11, 10, 3, 8, 4, 6, 2, 9, 5, 711, 10, 3, 8, 4, 6, 7, 9, 5, 2 怎么确定是前者的,难道已经有 29460791296 以上的 avID 出现?

这个顺序编码表是在看了很多大佬的帖子以及各种代码后得出的,结果神一般一致,但没办法与B站后台做一致性验证,为了保证文档的严谨性还是先这么写吧

from bilibili-api-collect.

duzhaokun123 avatar duzhaokun123 commented on June 19, 2024

@SocialSisterYi 那就不该叫援引

另外 python 的单行注释是#不是//

from bilibili-api-collect.

SocialSisterYi avatar SocialSisterYi commented on June 19, 2024

@SocialSisterYi 那就不该叫援引

另外 python 的单行注释是#不是//

知道了下次更新时修改

from bilibili-api-collect.

SeaHOH avatar SeaHOH commented on June 19, 2024

原来我用的和这里提供的不是一个算法, 我用的 https://www.zhihu.com/question/381784377/answer/1099438784

是同一个,只不过原版限定 29460791296 以下,后面没法确定。

@SocialSisterYi 建议先用原版,确定后再改代码。

from bilibili-api-collect.

SocialSisterYi avatar SocialSisterYi commented on June 19, 2024

算法及C、Python示例程序已修改,并添加相关备注
https://github.com/SocialSisterYi/bilibili-API-collect/blob/master/other/bvID.md

from bilibili-api-collect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.