hitting requests.exceptions.HTTPError: Rate limit exceeded for confluence API
trying to extract confluence subpages, did not have any issues until i decided to also extract the children of these subpages too by using a recursion. Started to hit rate limit exceeded for confluence api. Tried to use sleep commands, that just froze a code for a good minute before hitting the error. I tried to implement delay between requests by using time.sleep(delay) and set it to 0.6 seconds (I played with the number of seconds too, that did not help).
here is the snippet of the code