From 9bbec1d7001691fa328b87e2a2c37139da502bdb Mon Sep 17 00:00:00 2001 From: David Marx Date: Fri, 18 May 2018 00:11:02 -0700 Subject: [PATCH] Added support for /reddit/submission/comment_ids/ endpoint --- psaw/PushshiftAPI.py | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/psaw/PushshiftAPI.py b/psaw/PushshiftAPI.py index 008af38..ef25d8b 100644 --- a/psaw/PushshiftAPI.py +++ b/psaw/PushshiftAPI.py @@ -143,7 +143,7 @@ class PushshiftAPIMinimal(object): if 'created_utc' not in payload['filter']: payload['filter'].append('created_utc') - def _get(self, url, payload={}, endpoint='search'): + def _get(self, url, payload={}): i, success = 0, False while (not success) and (i