From 347c31d71706992c45de85ec0cace5c3d71bfd29 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Tue, 9 Jan 2024 09:56:15 +0000 Subject: [PATCH] No longer retrieve timestamp of downloads in aria2c For downloads by devine, there's generally no reason to retrieve this information when it will be decrypted, repacked, remuxed, and so on anyway. Requesting the timestamp will just mean more requests being made, perhaps slowing down the download. --- devine/core/downloaders/aria2c.py | 1 - 1 file changed, 1 deletion(-) diff --git a/devine/core/downloaders/aria2c.py b/devine/core/downloaders/aria2c.py index 8b9781a..39f0985 100644 --- a/devine/core/downloaders/aria2c.py +++ b/devine/core/downloaders/aria2c.py @@ -62,7 +62,6 @@ async def aria2c( arguments = [ "-c", # Continue downloading a partially downloaded file - "--remote-time", # Retrieve timestamp of the remote file from the and apply if available "-x", "16", # The maximum number of connections to one server for each download "-j", "16", # The maximum number of parallel downloads for every static (HTTP/FTP) URL "-s", ("1" if segmented else "16"), # Download a file using N connections