mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-01-31 05:10:45 -06:00
Readded code to load timelines with tweepy
This commit is contained in:
parent
1e1f2b089f
commit
8569d9b0a0
@ -172,7 +172,7 @@ class baseBufferController(baseBuffers.buffer):
|
|||||||
self.put_items_on_list(number_of_items)
|
self.put_items_on_list(number_of_items)
|
||||||
if hasattr(self, "finished_timeline") and self.finished_timeline == False:
|
if hasattr(self, "finished_timeline") and self.finished_timeline == False:
|
||||||
if "-timeline" in self.name:
|
if "-timeline" in self.name:
|
||||||
self.username = val[0]["user"]["screen_name"]
|
self.username = val[0].user.screen_name
|
||||||
elif "-favorite" in self.name:
|
elif "-favorite" in self.name:
|
||||||
self.username = self.session.api_call("show_user", **self.kwargs)["screen_name"]
|
self.username = self.session.api_call("show_user", **self.kwargs)["screen_name"]
|
||||||
self.finished_timeline = True
|
self.finished_timeline = True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user