From b6310658e849425fc66791fe3adc34ab497a1c8e Mon Sep 17 00:00:00 2001 From: David Lynch Date: Sat, 23 Nov 2024 16:01:18 -0600 Subject: [PATCH] Command-line flag to enable/disable fetching images --- sites/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sites/__init__.py b/sites/__init__.py index 14c9bc6..e32f670 100644 --- a/sites/__init__.py +++ b/sites/__init__.py @@ -109,6 +109,12 @@ class Site: default=True, help="If true, colors will be stripped from the text." ), + SiteSpecificOption( + 'image_fetch', + '--fetch-images/--no-fetch-images', + # default=True, + help="If true, images embedded in the story will be downloaded" + ), ] @classmethod