So I installed this simple python program that floods your ISP with random data. All the websites that it pulls from are listed in the config file. So I opened the config file to edit the list of websites and after editing the websites and running the program, it returns with this error from lines that I didnt even touch in the file. Can someone explain to me why this would be happening. The error is listed below.
python noisy.py --config config.json
Traceback (most recent call last):
File “/home/sweeney/noisy/noisy.py”, line 274, in
main()
File “/home/sweeney/noisy/noisy.py”, line 265, in main
crawler.load_config_file(args.config)
File “/home/sweeney/noisy/noisy.py”, line 189, in load_config_file
config = json.load(config_file)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/json/init.py”, line 293, in load
return loads(fp.read(),
^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/json/init.py”, line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/json/decoder.py”, line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/lib/python3.11/json/decoder.py”, line 355, in raw_decode
raise JSONDecodeError(“Expecting value”, s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 12 column 5 (char 263)
If you want to look at the program here is the link to find it.