mirror of
https://github.com/unshackle-dl/unshackle.git
synced 2026-11-25 02:15:08 +00:00
feat(downloader): adaptive worker scaling, tail boost, session parity, resume fixes
Opt-in --adaptive-workers (AIMD scaling + tail range-split), request/rnet session parity, and fixes for resume poisoning, truncated-segment acceptance, 416 handling, and byte-range-slice corruption. Tests + docs.
This commit is contained in:
@@ -246,8 +246,17 @@ class Subtitle(Track):
|
||||
*,
|
||||
cdm: Optional[object] = None,
|
||||
no_proxy_download: bool = False,
|
||||
adaptive_workers: bool = False,
|
||||
):
|
||||
super().download(session, prepare_drm, max_workers, progress, cdm=cdm, no_proxy_download=no_proxy_download)
|
||||
super().download(
|
||||
session,
|
||||
prepare_drm,
|
||||
max_workers,
|
||||
progress,
|
||||
cdm=cdm,
|
||||
no_proxy_download=no_proxy_download,
|
||||
adaptive_workers=adaptive_workers,
|
||||
)
|
||||
if not self.path:
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user