From 0ac1955db62aeb746991b610508e48452b3041e3 Mon Sep 17 00:00:00 2001 From: rlaphoenix Date: Wed, 15 Mar 2023 03:13:41 +0000 Subject: [PATCH] Ignore aria2's "If errors see the log file" logs --- devine/core/downloaders/aria2c.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devine/core/downloaders/aria2c.py b/devine/core/downloaders/aria2c.py index 0c708fb..fa1ac52 100644 --- a/devine/core/downloaders/aria2c.py +++ b/devine/core/downloaders/aria2c.py @@ -135,6 +135,8 @@ async def aria2c( elif not is_dl_summary: if "aria2 will resume download if the transfer is restarted" in line: continue + if "If there are any errors, then see the log file" in line: + continue log_buffer += f"{line.strip()}\n" if log_buffer: