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