What is the meaning of several parameters in the POST request of the Javascript-b station to send the barrage?

Source: Internet
Author: User

Using Chrome to capture the request when the B station sent the barrage, it was found that there were two parameters in formdata that were not understood.

1.pool is the number of the barrage pool.
2.fontsize is the font size
3.cid is the user ID
6.message is the content of the barrage I sent.
7.mod is the screen mode (i.e. top, scroll, etc.)
8.playtime is the time that appears in the video, in S, which can be accurate to 3 digits after the decimal point.
9.color is the color number

But there are two that I don't quite understand are Rnd and date. Since there is no video AV number in the formdata he submitted, I think the Rnd and date should be related to the AV number and the current time, Rnd I suspect that it is a random number generated by the Open interface, and date should be the result of the current time being processed by some algorithm.

Has anyone seen this formdata? Can you guess how Rnd and date are generated?

Reply content:

Using Chrome to capture the request when the B station sent the barrage, it was found that there were two parameters in formdata that were not understood.

1.pool is the number of the barrage pool.
2.fontsize is the font size
3.cid is the user ID
6.message is the content of the barrage I sent.
7.mod is the screen mode (i.e. top, scroll, etc.)
8.playtime is the time that appears in the video, in S, which can be accurate to 3 digits after the decimal point.
9.color is the color number

But there are two that I don't quite understand are Rnd and date. Since there is no video AV number in the formdata he submitted, I think the Rnd and date should be related to the AV number and the current time, Rnd I suspect that it is a random number generated by the Open interface, and date should be the result of the current time being processed by some algorithm.

Has anyone seen this formdata? Can you guess how Rnd and date are generated?

Has solved the problem, RND randomly generated 9-bit random number, date is timestamp, B station automatic bomb screen script has been completed, thanks for the answer.

Is date not a timestamp, if the number of digits is not possible is the millisecond level, the other one will not know, and then send a barrage to see if the Rnd has changed

The date should be the timestamp of the send, in milliseconds.
Rnd may be random? Random number?

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.