import requests


def get_raw_img(url):
    """
    Download input image from url.
    """

    pic = False
    response = requests.get(url, stream=True)
    with open('./imgs/img.png', 'wb') as file:
        for chunk in response.iter_content():
            file.write(chunk)
        pic = True
    response.close()
    return pic