def collect_all_links(soup):
    """Finds all links on the page and returns them as a list

    :param soup: The BeautifulSoup object
    :type soup: BeautifulSoup object
    :returns: List with URLs
    """
    links = []
    for link in soup.find_all('a'):
        links.append(link.get('href'))
    
    return links