omdbapi / OMDb-API

The Open Movie Database Bug Tracking
411 stars 20 forks source link

Very long request time when calling API repeatedly #313

Open skyline220 opened 2 months ago

skyline220 commented 2 months ago

Hi I have the $10 a month plan for unlimited requests. I sometimes need to load information for 30-50 movies with consecutive API calls. It seems after doing this loading of 30-50 movies once or twice the API call will get stuck and then take 20-30 seconds to resolve for just one API call before continuing. This is a big issue for me as I need to be able to query 30-50 movies consecutively without any pauses as fast as possible. Is there a way to resolve this?

I am also requesting over HTTP

Thanks

lalan-desai commented 1 month ago

Having the same problem, did you find any solution?

skyline220 commented 3 weeks ago

No I wasn't able to, just try to limit the calls as much as possible which isn't good

lalan-desai commented 3 weeks ago

No I wasn't able to, just try to limit the calls as much as possible which isn't good

Found this library which worked. https://pypi.org/project/cloudscraper/