def _extract_ads(data, attrs_id, attrs_content):
    """
    Extract the div that contains the data in the beautiful object ads. Try if the data is under the div class
    'content'. If it is not, it returns itself with the div_class set
    up with 'enhanced-content'
    :params:
        data bs4 obj: job ads
        attrs_id str: the type of tag for div. by default it is class
        attrs_content str: the data is either within the div_class 'content'
        or div id='enhanced-content'. By default it check the 'content'
    :returns:
        bs4 object : only the div that contains the information. Empty document if not found anything
    """
    return data.find_all("div", attrs={attrs_id: attrs_content})