import re


def parse_links(s):
    """
    Returns all links found in an input string.

    Args:
        s (str): input string to search for links in.
    """

    return re.findall(r'(https?:\/\/(?:www\.|(?!www))[^\s\.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})', str(s))