Skip to content

Commit

Permalink
strip url
Browse files Browse the repository at this point in the history
  • Loading branch information
msramalho committed Feb 29, 2024
1 parent d21e79a commit 601572d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auto_archiver/core/orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 601572d

Please sign in to comment.