HTML image elements have this simplified format:
That something can be data-uri, for example:
Python since 3.4 have support for data-uri. Under hood using urllib.request.DataHandler.
from urllib.request import urlopen with urlopen(data_uri) as response: data = response.read()