def tweet_parse(tweet):
    """
    Parses the tweet for relevent information.
    Returns a list that contains all the information
    """
    tweet_date = str(tweet.created_at)
    tweet_id = tweet.id_str
    tweet_text = tweet.text
    # Remove new lines and pipes from the tweets
    tweet_text = tweet_text.replace('|', ' ')
    tweet_text = tweet_text.replace('\n', ' ')
    hashtags = []
    for i in tweet.entities['hashtags']:
        hashtags.append(i['text'])
    favorited = tweet.favorited
    favorite_count = tweet.favorite_count
    retweeted = tweet.retweeted
    retweet_count = tweet.retweet_count
    tweeted_from = tweet.source

    parsed_tweet = [
        tweet_date,
        tweet_id,
        tweet_text,
        hashtags,
        favorited,
        favorite_count,
        retweeted,
        retweet_count,
        tweeted_from
    ]
    return parsed_tweet