python3 pinterest-downloader.py https://ru.pinterest.com/*/*/
[i] User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36
[i] Job is download single board by username/boardname: */*
[...] Getting all images in this board: * ... [ 0 / ? ]Traceback (most recent call last):
File "/usr/lib/python3.11/site-packages/requests/models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/guest/git/pinterest-downloader/pinterest-downloader.py", line 1857, in <module>
run_direct_main()
File "/home/guest/git/pinterest-downloader/pinterest-downloader.py", line 1849, in run_direct_main
return run_library_main(args.path, args.dir, args.thread_max, args.cut
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/guest/git/pinterest-downloader/pinterest-downloader.py", line 1718, in run_library_main
fetch_imgs( board, slash_path[-2], slash_path[-1], None, False
File "/home/guest/git/pinterest-downloader/pinterest-downloader.py", line 1366, in fetch_imgs
data = r.json()
^^^^^^^^
File "/usr/lib/python3.11/site-packages/requests/models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Abort.