Toxicity-detector / Scraper.py
danielcd99's picture
fixed get_tweets fn
6ae4feb
raw
history blame contribute delete
No virus
281 Bytes
def check_user_existence(scraper):
pass
def get_tweets(scraper, number_of_tweets):
tweets = []
for i, tweet in enumerate(scraper.get_items()):
if i == number_of_tweets:
return tweets
tweets.append(tweet.rawContent)
return tweets