SlackPirate icon indicating copy to clipboard operation
SlackPirate copied to clipboard

Script does not get more data then MAX_RETRIEVAL_COUNT

Open rvnikita opened this issue 4 years ago • 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.

rvnikita avatar May 29 '20 02:05 rvnikita

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

rvnikita avatar May 29 '20 02:05 rvnikita

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.

rvnikita avatar May 29 '20 02:05 rvnikita

Was this ever addressed?

n0ncetonic avatar Feb 10 '21 19:02 n0ncetonic

Bump

djhashh avatar Apr 30 '21 08:04 djhashh

Not really

On Fri, Apr 30, 2021 at 11:42 AM djhashh @.***> wrote:

Bump

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/emtunc/SlackPirate/issues/53#issuecomment-829941248, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAVQKHKSAYPD6HXVWGQZ3TTLJUO3ANCNFSM4NNUOIGA .

-- Best regards, Nikita Rvachev

telegram: rvnikita facebook: http://www.facebook.com/rvnikita

rvnikita avatar May 01 '21 15:05 rvnikita