diff --git a/devine/commands/dl.py b/devine/commands/dl.py index 3462bb5..bdf3bc3 100644 --- a/devine/commands/dl.py +++ b/devine/commands/dl.py @@ -700,7 +700,6 @@ class dl: prepare_drm: Callable, progress: partial ): - time.sleep(1) if self.DL_POOL_STOP.is_set(): return diff --git a/devine/core/manifests/dash.py b/devine/core/manifests/dash.py index 852d5a6..cacb7db 100644 --- a/devine/core/manifests/dash.py +++ b/devine/core/manifests/dash.py @@ -448,7 +448,6 @@ class DASH: state_event = Event() def download_segment(filename: str, segment: tuple[str, Optional[str]]) -> int: - time.sleep(0.1) if state_event.is_set(): return 0 diff --git a/devine/core/manifests/hls.py b/devine/core/manifests/hls.py index eedc613..75c90f3 100644 --- a/devine/core/manifests/hls.py +++ b/devine/core/manifests/hls.py @@ -214,8 +214,7 @@ class HLS: state_event = Event() - def download_segment(filename: str, segment, init_data: Queue, segment_key: Queue) -> int: - time.sleep(0.1) + def download_segment(filename: str, segment: m3u8.Segment, init_data: Queue, segment_key: Queue) -> int: if state_event.is_set(): return 0