You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the de-duplicated author list:
create a dict containing `tweet.username` as key an `True` as value;
update the dict for every tweet;
iterate over the dict to get the wanted list.
For time interval:
after the tweet is scraped, add a `timecheck(time)` before printing or saving the tweet.
For more tweets that asked:
count tweets;
when the number of tweets asked is reached, raise `KeyboardInterrupt` that will be caught to let the db close gracefully (`_close_db(self.conn)`).
Csv output:
if the user does not provide a .csv name, the file will be saved in a directory with the given name. If the user provides a .csv name, only tweets will be saved