dmarx / psaw

Python Pushshift.io API Wrapper (for comment/submission search)
BSD 2-Clause "Simplified" License
361 stars 53 forks source link

Pushshift.io UNABLE to connect #107

Open gianfelicevincenzo opened 1 year ago

gianfelicevincenzo commented 1 year ago

C:\Users\vincenzo\AppData\Local\Temp\_MEI108842\psaw\PushshiftAPI.py:180: UserWarning: Unable to connect to pushshift.io. Retrying after backoff.. The tool is RMD

SeifReda30 commented 1 year ago

I have the same issue, is there any solution?

almogmor commented 1 year ago

I get the same problem. Is there any way to work around it somehow ?

/usr/local/lib/python3.8/dist-packages/psaw/PushshiftAPI.py:192: UserWarning: Got non 200 code 404 warnings.warn("Got non 200 code %s" % response.status_code) /usr/local/lib/python3.8/dist-packages/psaw/PushshiftAPI.py:180: UserWarning: Unable to connect to pushshift.io. Retrying after backoff. warnings.warn("Unable to connect to pushshift.io. Retrying after backoff.")

nizarhaider commented 1 year ago

Same issue. Anyone got a solution?

ibnahmadbello commented 1 year ago

Hello, Has anyone being able to get pass the error? I am also facing the same issue.

aaronsnoswell commented 1 year ago

Hello!

I'm also having this issue. It seems the /meta endpoint is down at the moment, which breaks the API because it can't discover the value for rate_limit_per_minute. If you specify this parameter in the API constructor, it seems to work;

from psaw import PushshiftAPI
api = PushshiftAPI(rate_limit_per_minute=60)
almogmor commented 1 year ago

Thanks! I'll try that hack

bybilal commented 1 year ago

did u ever figure this out? Im having same issue

nizarhaider commented 1 year ago

Worst case scenario ya'll can download the dump (archived dataset of reddit) of that specific month and just extract the data you need from it.