from pathlib import Path
import requests


def get_wikipedia_article(url):
    """Get the html content of a wikipedia article"""
    local_html = Path('sports.html')
    if not local_html.is_file():
        response = requests.get(url)
        local_html.write_text(response.text)
    return local_html.read_text()