mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-29 22:23:12 -06:00
Retrieve up to 5000 users when getting list IDS
This commit is contained in:
parent
23df8f8a7f
commit
ae57cc3404
@ -776,7 +776,7 @@ class listBufferController(baseBufferController):
|
|||||||
super(listBufferController, self).start_stream(mandatory, play_sound, avoid_autoreading)
|
super(listBufferController, self).start_stream(mandatory, play_sound, avoid_autoreading)
|
||||||
|
|
||||||
def get_user_ids(self):
|
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:
|
if i.id not in self.users:
|
||||||
self.users.append(i.id)
|
self.users.append(i.id)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user