[reddit] increase 'id-max' default value (#3397)

to float("inf")
This commit is contained in:
Mike Fährmann
2022-12-12 12:08:19 +01:00
parent a001c9c06f
commit 2952add4a8
2 changed files with 3 additions and 3 deletions

View File

@@ -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: