import requests


def get_last_modified(url):
    """Get the Last-Modified header of an URL."""
    header = requests.head(url).headers
    if 'Last-Modified' in header:
                return header['Last-Modified']
    else:
        return None