I tried the examples on README, but I can not get any result. The code and results are as shown below. I used other post_ids and can not get comment_ids either.
from pmaw import PushshiftAPI
api = PushshiftAPI()
post_ids = ['kxi2w8','kxi2g1','kxhzrl','kxhyh6','kxhwh0',
'kxhv53','kxhm7b','kxhm3s','kxhg37','kxhak9']
comment_ids = api.search_submission_comment_ids(ids=post_ids)
comment_id_list = [c_id for c_id in comment_ids]
print(len(comment_id_list))
UserWarning: 10 items were not found in Pushshift
warnings.warn(f"{self.limit} items were not found in Pushshift")
I tried the examples on README, but I can not get any result. The code and results are as shown below. I used other post_ids and can not get comment_ids either.
from pmaw import PushshiftAPI api = PushshiftAPI() post_ids = ['kxi2w8','kxi2g1','kxhzrl','kxhyh6','kxhwh0', 'kxhv53','kxhm7b','kxhm3s','kxhg37','kxhak9'] comment_ids = api.search_submission_comment_ids(ids=post_ids) comment_id_list = [c_id for c_id in comment_ids] print(len(comment_id_list))
UserWarning: 10 items were not found in Pushshift warnings.warn(f"{self.limit} items were not found in Pushshift")