emtunc/SlackPirate

Script does not get more data then MAX_RETRIEVAL_COUNT

rvnikita opened this issue · 5 comments

So in the community with 4700 people it grabs only 900.
When I change MAX_RETRIEVAL_COUNT = 9000 it grabs only 1000.
I believe something is wrong with pagination, so he does not collect the next pages.

I don't know why, but my debug shows, that https://slack.com/api/users.list always return empty cursor :-\

Seems like slack gives empty cursor because he is sending all data in one response, but it takes some time to fully get it and python script is not waiting for the whole response, so get only part of it.

Was this ever addressed?

Bump