From 601b42acdce8d8be8e4cd6ddf6fb306e24a1e6e6 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 9 Jun 2025 16:12:04 +0200 Subject: [PATCH] fix: Catch correct exceptions to extract original image link --- prophet/domain/original.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/prophet/domain/original.py b/prophet/domain/original.py index 87dda00..9a5de11 100644 --- a/prophet/domain/original.py +++ b/prophet/domain/original.py @@ -18,12 +18,13 @@ class Original: # BadJoke: Sting m = re.match(r'", "", s) return (img, rest) + return ("", s) def __post_init__(self): self.id = hashlib.sha256(self.link.encode()).hexdigest()