From a867537c3150f50c472f2c31dc85676e2f6ac5de Mon Sep 17 00:00:00 2001 From: Simon Neutert Date: Thu, 22 Jun 2023 13:48:05 +0200 Subject: [PATCH] attempting to avoid captcha/ratelimiting (#5) --- fundgrube.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/fundgrube.clj b/fundgrube.clj index 738d97c..fac8415 100644 --- a/fundgrube.clj +++ b/fundgrube.clj @@ -52,6 +52,7 @@ offset offset run 0] (let [api-data (extract-json-body (get-postings url limit offset))] + (Thread/sleep 5000) ;; avoid rate limiting (cond (= run virtual-limit) collection (empty? (:postings api-data)) collection