import requests


def get_online_person(params=None, **kwargs) -> bytes:
    """Get a picture of a fictional person from the ThisPersonDoesNotExist webpage.
    :param params: params dictionary used by requests.get
    :param kwargs: kwargs used by requests.get
    :return: the image as bytes
    """
    r = requests.get("https://thispersondoesnotexist.com/image", headers={'User-Agent': 'My User Agent 1.0'}).content
    return r