async def get_csrf_token(session):
    """Returns the Cross-Site Request Forgery token from the current session.
    """
    url = "https://fantasy.premierleague.com/"
    filtered = session.cookie_jar.filter_cookies(url)
    csrf_token = filtered["csrftoken"].value
    return csrf_token