Retrieve up to 5000 users when getting list IDS

This commit is contained in:
Manuel Cortez 2021-01-27 15:03:47 -06:00
parent 23df8f8a7f
commit ae57cc3404

View File

@ -776,7 +776,7 @@ class listBufferController(baseBufferController):
super(listBufferController, self).start_stream(mandatory, play_sound, avoid_autoreading)
def get_user_ids(self):
for i in Cursor(self.session.twitter.list_members, list_id=self.list_id, include_entities=False, skip_status=True).items():
for i in Cursor(self.session.twitter.list_members, list_id=self.list_id, include_entities=False, skip_status=True, count=5000).items():
if i.id not in self.users:
self.users.append(i.id)