update scraper.py
This commit is contained in:
@@ -168,6 +168,10 @@ class Scraper:
|
|||||||
for e in cur_page:
|
for e in cur_page:
|
||||||
if isinstance(e, Tweet):
|
if isinstance(e, Tweet):
|
||||||
add_tweet(e)
|
add_tweet(e)
|
||||||
|
if e == cur_page[-1]:
|
||||||
|
print(
|
||||||
|
f"{e.date} (last tweet date) < {since} (since date) ?"
|
||||||
|
)
|
||||||
elif isinstance(e, SelfThread):
|
elif isinstance(e, SelfThread):
|
||||||
# FIXME: rework when replied_to is fixed (currently populates user_mentions)
|
# FIXME: rework when replied_to is fixed (currently populates user_mentions)
|
||||||
# latest tweet in thread = og author's reply
|
# latest tweet in thread = og author's reply
|
||||||
|
|||||||
Reference in New Issue
Block a user