Giter Site home page Giter Site logo

Comments (9)

yjqiang avatar yjqiang commented on May 28, 2024

似乎是LotteryResult这里,并没有测试抽奖时间是否满3min,而且不论是否成功开奖完毕,就删除了它,导致显示获奖为0?

from bilibili-live-tools.

Dawnnnnnn avatar Dawnnnnnn commented on May 28, 2024

懂了,改成小电视的总时间应该就好了

from bilibili-live-tools.

yjqiang avatar yjqiang commented on May 28, 2024

但是对照普通抽奖,实现方式不一样?比如对应刚刚提交的if判断语句里面,普通pc抽奖那里就没有if判断,但是显示正常,有什么区别么?

from bilibili-live-tools.

Dawnnnnnn avatar Dawnnnnnn commented on May 28, 2024

因为上面那个活动抽奖那里,我加了try except,如果它不能够正常输出获奖信息的话,就会直接跳出,而不会删除列表中的元素。下面这个因为不管有没有获奖信息,它都不会报错,所以try except失效了,加了一个if判断一下。归根结底是因为两个返回的json数据格式不同

from bilibili-live-tools.

yjqiang avatar yjqiang commented on May 28, 2024

好办法。。。我原本以为去用resttime挨个查呢。。。

from bilibili-live-tools.

Dawnnnnnn avatar Dawnnnnnn commented on May 28, 2024

_(:зゝ∠)_我其实是懒了,resttime这个列表根本都没用上

from bilibili-live-tools.

yjqiang avatar yjqiang commented on May 28, 2024

还是有问题,尤其多个小电视夹杂时,经常就一些结果跳过去了,永远不反馈。高度怀疑是,sleep 2分半会导致b站已经清除掉了该结果以节省资源。待确认,毕竟氪金大佬还是太少,要不你刷几十个小电视吧😂

from bilibili-live-tools.

yjqiang avatar yjqiang commented on May 28, 2024

把sleep改为5分钟,会集中出现这个丢数据的问题,而且堆栈不清空。sleep 改为1分钟,目前正常。

from bilibili-live-tools.

Dawnnnnnn avatar Dawnnnnnn commented on May 28, 2024

get

from bilibili-live-tools.

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.