diff --git a/docs/gallery-dl.conf b/docs/gallery-dl.conf index 51a93200..98974e9b 100644 --- a/docs/gallery-dl.conf +++ b/docs/gallery-dl.conf @@ -251,8 +251,8 @@ "date-min": 0, "date-max": 253402210800, "date-format": "%Y-%m-%dT%H:%M:%S", - "id-min": "0", - "id-max": "zik0zj", + "id-min": null, + "id-max": null, "recursion": 0, "videos": true }, diff --git a/gallery_dl/extractor/reddit.py b/gallery_dl/extractor/reddit.py index 0ec8478b..204562e7 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: