def extract_content(soup):
    """Extract resources based on resource tags from a page."""
    images = [ image.get('src') for image in soup.find_all('img') ]
    stylesheets = [ sheet.get('href') for sheet in soup.find_all('link') ]
    scripts = [ script.get('src') for script in soup.find_all('script') ]
    videos = [ video.get('src') for video in soup.find_all('video') ]
    audio = [ audio.get('src') for audio in soup.find_all('audio') ]
    return [ link for link in images + stylesheets + scripts + videos + audio
             if link and len(link) > 0 ]