Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to fetch comments by ID #41

Open
apoorva1225 opened this issue Feb 18, 2022 · 3 comments
Open

Unable to fetch comments by ID #41

apoorva1225 opened this issue Feb 18, 2022 · 3 comments

Comments

@apoorva1225
Copy link

#comment_id is list of string
comments_arr = pushshift_api.search_comments(ids = comment_ids)

output Error: INFO:pmaw.PushshiftAPIBase:Total:: Success Rate: 87.50% - Requests: 16 - Batches: 4 - Items Remaining: 6720
/usr/local/lib/python3.7/dist-packages/pmaw/Request.py:230: UserWarning: 6720 items were not found in Pushshift
f'{self.limit} items were not found in Pushshift')

Question: Is it true that pushshift has a delay in fetching data? Can we fetch data for current date ?

@mattpodolak
Copy link
Owner

Hi @apoorva1225 were you running this query yesterday? There was a Pushshift outage that may have impacted your results.

Also, the pushshift metadata is delayed as it takes around 24hrs for comments and scores to reach a steady state, so it doesn't update the metadata until after that window and rarely beyond that.

Check out the PRAW enrichment feature, this will replace metadata from Pushshift with the latest data from Reddit

@apoorva1225
Copy link
Author

Hi @mattpodolak, this query is not work. It continues to give me the same error -----/usr/local/lib/python3.7/dist-packages/pmaw/Request.py:230: UserWarning: 45 items were not found in Pushshift
f'{self.limit} items were not found in Pushshift')

Could you please suggest a fix for this?

@dunovank
Copy link

dunovank commented May 7, 2022

I'm having the same issue. Is there a status update on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants