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

to float("inf")
pull/3406/head
Mike Fährmann 2 years ago
parent a001c9c06f
commit 2952add4a8
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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
},

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

Loading…
Cancel
Save