diff options
author | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
---|---|---|
committer | msglm <msglm@techchud.xyz> | 2025-08-17 19:53:51 -0500 |
commit | 555bf7d1e9b561e04340c7cd178bbb5027ec7e8b (patch) | |
tree | 75c3d78fbb08a1c127701e79bf3876511703efd8 | |
parent | 870e1acfc1ca1b35e4d48cb6c9bb8dd975408a7a (diff) | |
download | comedyGenerator-555bf7d1e9b561e04340c7cd178bbb5027ec7e8b.tar.gz comedyGenerator-555bf7d1e9b561e04340c7cd178bbb5027ec7e8b.tar.bz2 comedyGenerator-555bf7d1e9b561e04340c7cd178bbb5027ec7e8b.zip |
expanded config options
-rwxr-xr-x | comedyGenerator | 4 | ||||
-rw-r--r-- | 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", @@ -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 |