summaryrefslogtreecommitdiffstats
path: root/gallery_dl/extractor/reddit.py
diff options
context:
space:
mode:
Diffstat (limited to 'gallery_dl/extractor/reddit.py')
-rw-r--r--gallery_dl/extractor/reddit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gallery_dl/extractor/reddit.py b/gallery_dl/extractor/reddit.py
index 0ec8478..204562e 100644
--- a/gallery_dl/extractor/reddit.py
+++ b/gallery_dl/extractor/reddit.py
@@ -428,7 +428,7 @@ class RedditAPI():
def _pagination(self, endpoint, params):
id_min = self._parse_id("id-min", 0)
- id_max = self._parse_id("id-max", 2147483647)
+ id_max = self._parse_id("id-max", float("inf"))
date_min, date_max = self.extractor._get_date_min_max(0, 253402210800)
while True: