diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/RedditRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/RedditRipper.java index 7b5c82d1..3a234dac 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/RedditRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/RedditRipper.java @@ -96,6 +96,13 @@ public class RedditRipper extends AlbumRipper { nextURL = new URL(nextURLString); } } + + // Wait to avoid rate-limiting against reddit's API + try { + Thread.sleep(2000); + } catch (InterruptedException e) { + logger.warn("Interrupted while sleeping", e); + } return nextURL; }