From 555bf7d1e9b561e04340c7cd178bbb5027ec7e8b Mon Sep 17 00:00:00 2001 From: msglm Date: Sun, 17 Aug 2025 19:53:51 -0500 Subject: expanded config options --- comedyGenerator | 4 ++-- config | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/comedyGenerator b/comedyGenerator index e2acc2f..be847a5 100755 --- a/comedyGenerator +++ b/comedyGenerator @@ -25,7 +25,7 @@ parser.add_argument('--verbose', '-v', ) parser.add_argument('--amount','-a', - default=10, + default=int(config['DEFAULT']['amount']), dest='amount', action="store", help="the amount of funnies you'd like to download per tag", @@ -49,7 +49,7 @@ parser.add_argument('--log','-l', ) parser.add_argument('--jobs','-j', - default=1, + default=int(config['DEFAULT']['jobs']), dest='jobs', action="store", help="how many jobs you'd like to use while downloading", diff --git a/config b/config index a41902d..aa8f078 100644 --- a/config +++ b/config @@ -6,3 +6,9 @@ output=./ #Location of the log file, if you care about that. False will disable the log file log=False + +#Default amount of funnies to download +amount=10 + +#Default amount of jobs used when downloading +jobs=1 -- cgit v1.2.3