mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
dashparse: we don't need to "/ 1000" one more time
This commit is contained in:
parent
6f2f3fbc94
commit
44703b47e8
@ -124,7 +124,7 @@ def dashparse(options, res, url):
|
||||
videofiles = adaptionset(temp, url)
|
||||
|
||||
for i in videofiles.keys():
|
||||
bitrate = (int(i) + int(list(audiofiles.keys())[0])) / 1000
|
||||
bitrate = (int(i) + int(list(audiofiles.keys())[0]))
|
||||
options.other = "mp4"
|
||||
options.segments = videofiles[i]["segments"]
|
||||
streams[int(bitrate)] = DASH(copy.copy(options), url, bitrate, cookies=res.cookies, audio=audiofiles[list(audiofiles.keys())[0]]["files"], files=videofiles[i]["files"])
|
||||
|
Loading…
Reference in New Issue
Block a user