Comment tester si une page Web est une image de demande Python
import requests
response = requests.head(url)
print response.headers.get('content-type')
Ugliest Unicorn
import requests
response = requests.head(url)
print response.headers.get('content-type')