I am trying to extract gilded comments from reddit using PRAW library but receiving HTTP 400 code. I am using the following code snippet provided in the documentation:
for item in reddit.subreddit("test").gilded():
print(item.id)
from PRAW documentation: .html#praw.models.Subreddit.gilded
After running I am getting:
266 if response.status_code in self.STATUS_EXCEPTIONS:
267 raise self.STATUS_EXCEPTIONS[response.status_code](response)
268 if response.status_code == codes["no_content"]:
269 return None
BadRequest: received 400 HTTP response
Is there any other way to do the same?