From 91d2c4fd4ba95ae5812668dc6d0c205c5fab44c2 Mon Sep 17 00:00:00 2001 From: David Lynch Date: Sat, 30 Nov 2024 13:52:43 -0600 Subject: [PATCH] Fully cancel if the story extraction fails --- leech.py | 1 + 1 file changed, 1 insertion(+) diff --git a/leech.py b/leech.py index cef6d37..184457a 100755 --- a/leech.py +++ b/leech.py @@ -115,6 +115,7 @@ def open_story(site, url, session, login, options): return if not story: logger.error("Couldn't extract story") + return return story