geduldig / TwitterAPI

Minimal python wrapper for Twitter's REST and Streaming APIs
938 stars 263 forks source link

Make exception raising configurable on TwitterPager #142

Closed drbig closed 4 years ago

drbig commented 4 years ago

For Free APIs continuing on all network errors etc. is probably fine, but very much not so on the paid APIs (they do count your request even if you got read timeout... speaking from experience).

Given TwitterAPI uses props on class I've decided, for sake of consistency, to use the same mechanism here.

STATUS: ~UNTESTED~ Couldn't replicate network errors, but rest works and well, if it doesn't I'll know and fix it...