The program is assumed as a DDoS Attack when there's no update in the page. I'm running it so that the folder in my local computer is synced with the one on the site.
How To Reproduce
Just run the program again when it's all fully downloaded.
Error messages and tracebacks
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Roaming\Python\Python310\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Program Files\Python310\lib\json\__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Program Files\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Program Files\Python310\lib\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 "C:\Users\Administrator\Downloads\Compressed\kemono-dl-2022.04.27\src\main.py", line 641, in start_download
self.get_post(url)
File "C:\Users\Administrator\Downloads\Compressed\kemono-dl-2022.04.27\src\main.py", line 153, in get_post
json = self.session.get(url=f"{api}?o={chunk}", cookies=self.cookies, headers=self.headers, timeout=self.timeout).json()
File "C:\Users\Administrator\AppData\Roaming\Python\Python310\site-packages\requests\models.py", line 917, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: [Errno Expecting value]
Is there any feature that gives a delay before each time the program downloading the post? Like a delay of 5s between each post(s) so that it won't be detected as an DDoS attack.
Version
Version: 2022.04.27
Your Command
Description of bug
The program is assumed as a DDoS Attack when there's no update in the page. I'm running it so that the folder in my local computer is synced with the one on the site.
How To Reproduce
Just run the program again when it's all fully downloaded.
Error messages and tracebacks
Additional comments
Is there any feature that gives a delay before each time the program downloading the post? Like a delay of 5s between each post(s) so that it won't be detected as an DDoS attack.