import requests
from bs4 import BeautifulSoup


def getContent(url: str):
    """
    Gets the content for a given url in the web

    Arguments: 
        url {str} -- [
            The url of the webpage to scrap
        ]

    Returns:
        [type] -- [
            The content as a BeautifulSoup object
        ]
    """
    print(f"Now scrapping {url}")
    response = requests.get(url, timeout=5)
    content = BeautifulSoup(response.content, "html.parser")
    return content