Running kiwix-zim.sh with no extra arguments does not error out immediately, despite the obvious misconfiguration. May I suggest checking the ZIMPath is present before calling master_scrape? I would also suggest a much more scalable args parser. Rather than hardcoding support for only 3 args.
Running
kiwix-zim.sh
with no extra arguments does not error out immediately, despite the obvious misconfiguration. May I suggest checking theZIMPath
is present before callingmaster_scrape
? I would also suggest a much more scalable args parser. Rather than hardcoding support for only 3 args.