From 601572d76e19d24ce1c3e8881b15d23a4bea987e Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Thu, 29 Feb 2024 11:54:01 +0000 Subject: [PATCH] strip url --- src/auto_archiver/core/orchestrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto_archiver/core/orchestrator.py b/src/auto_archiver/core/orchestrator.py index 7aa5fb76..5ba0a5e4 100644 --- a/src/auto_archiver/core/orchestrator.py +++ b/src/auto_archiver/core/orchestrator.py @@ -77,7 +77,7 @@ def archive(self, result: Metadata) -> Union[Metadata, None]: 5. Store all downloaded/generated media 6. Call selected Formatter and store formatted if needed """ - original_url = result.get_url() + original_url = result.get_url().strip() self.assert_valid_url(original_url) # 1 - sanitize - each archiver is responsible for cleaning/expanding its own URLs