def downdload_comic(entry: dict, filename: str) -> None:
    '\n    Download latest image and store it in\n    current working directory\n    '
    match = re.search('src="(.*png)"', entry['summary'])
    if match:
        img_url = match.groups()[0]
        r = requests.get(img_url)
        r.raise_for_status()
        with open(filename, 'wb') as f:
            f.write(r.content)
    return None
Download latest image and store it in
current working directory
def downdload_comic(entry: dict, filename: str) -> None:
    '\n    Download latest image and store it in\n    current working directory\n    '
    match = re.search('src="(.*png)"', entry['summary'])
    if match:
        img_url = match.groups()[0]
        r = requests.get(img_url)
        r.raise_for_status()
        with open(filename, 'wb') as f:
            f.write(r.content)
    return None