mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
Add range header in retry download
This commit is contained in:
parent
5aa13de748
commit
cb2e73f364
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
min/download-video.min.js
vendored
2
min/download-video.min.js
vendored
File diff suppressed because one or more lines are too long
@ -238,6 +238,7 @@ class VideoDownloader
|
||||
this.progressMap.set(xhr, 0);
|
||||
this.updateProgress();
|
||||
xhr.open("GET", fragment.url);
|
||||
xhr.setRequestHeader("Range", range);
|
||||
xhr.send();
|
||||
});
|
||||
xhr.setRequestHeader("Range", range);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user