Closed ronyb29 closed 6 years ago
Writing a custom request parser improved a bit, but not enough. forgot to take the screenshot of stats before scraping the idea.
Gonna try with api.cine.com.do now
only sure-fire way to improve speed and avoid caching is to change to omdb. the OMDB api includes ratings from metacritic, rotten tomatoes and IMDB. But for some tease some blockbusters won't have their IMDB score shown, thyre listed as 'N/A'
Fixed with PR #26
Most of the time is being spent opening and closing ssl connections.
There is no easy way to optimize since the IMDB client uses urllib and would have to be modified to support keep alive (requests, urllib3)
An option would be to make do the requests and parse the response himself.
Giru16.pstat.zip