gladisor / AdviceBot

Chatbot which gives general advice using a language model
GNU General Public License v3.0
0 stars 0 forks source link

Create function which gets comments from post #4

Closed gladisor closed 3 years ago

gladisor commented 3 years ago

Create function in utils.py

Use pushshift api to get all comments from a list of post ids.

First get comment ids from a post /reddit/submission/comment_ids/{base36-submission-id}

Then get comments from comment ids /reddit/search/comment/

Inputs:

Returns: