Answers for "How to test if a webpage is an image python requests"

0

How to test if a webpage is an image python requests

import requests
response = requests.head(url)
print response.headers.get('content-type')
Posted by: Guest on September-25-2021

Code answers related to "How to test if a webpage is an image python requests"

Python Answers by Framework

Browse Popular Code Answers by Language