Traceback (most recent call last):
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 124, in
main()
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 108, in main
process_domain(args.url, target, target_type, output_file)
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 71, in process_domain
data = make_request(key)
^^^^^^^^^^^^^^^^^
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 38, in make_request
key = json.loads(key)['id']
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
[+] Running Phonebook.cz scrapper!
Traceback (most recent call last): File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 124, in
main()
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 108, in main
process_domain(args.url, target, target_type, output_file)
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 71, in process_domain
data = make_request(key)
^^^^^^^^^^^^^^^^^
File "/home/artem/builds/phonebook.cz_scrapper/phonebook.py", line 38, in make_request
key = json.loads(key)['id']
^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/init.py", line 346, in loads
return _default_decoder.decode(s)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)