So testen Sie, ob eine Webseite ein Bild ist, das Python anwendet

import requests
response = requests.head(url)
print response.headers.get('content-type')
Ugliest Unicorn