Add test
This commit is contained in:
@@ -3,27 +3,27 @@ class Block:
|
||||
|
||||
Parameter:
|
||||
---------
|
||||
pos : int
|
||||
pos : int :
|
||||
index of this block on block list.
|
||||
|
||||
first : int
|
||||
first : int :
|
||||
videoOffsetTimeMs of chat_data[0]
|
||||
|
||||
last : int
|
||||
videoOffsetTimeMs of the last chat_data current read.
|
||||
last : int :
|
||||
videoOffsetTimeMs of the last chat_data.
|
||||
(chat_data[-1])
|
||||
|
||||
this value increases as fetching chatdata progresses.
|
||||
|
||||
temp_last : int
|
||||
temporary videoOffsetTimeMs of last chat data,
|
||||
temp_last : int :
|
||||
target videoOffsetTimeMs of last chat data for download,
|
||||
equals to first videoOffsetTimeMs of next block.
|
||||
when download worker reaches this offset, the download will stop.
|
||||
when download worker reaches this offset, stop downloading.
|
||||
|
||||
continuation : str
|
||||
continuation : str :
|
||||
continuation param of last chat data.
|
||||
|
||||
chat_data : List
|
||||
chat_data : List
|
||||
"""
|
||||
def __init__(self, pos=0, first=0, last=0,
|
||||
continuation='', chat_data=[]):
|
||||
|
||||
Reference in New Issue
Block a user