You are on page 1of 1

encoding=r.headers['content-type'].split('charset=')[-1] r.text.

encode(encoding)

You might also like