Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

requests encoding python

import requests
url = 'https://requests.readthedocs.io/en/latest/'
encoding = requests.get(url).encoding   ## OUTPUT: 'ISO-8859-1'
 
PREVIOUS NEXT
Tagged: #requests #encoding #python
ADD COMMENT
Topic
Name
3+2 =