Skip to main content

true_encoding is the method of solving the problem of 'ISO-8859-1' about parsing html.

Project description

>>>from true_encoding.debug import debug

>>>r = requests.get(‘http://www.fang.com’)

>>>r.encoding = debug(r)

>>>print(r.text)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for true-encoding, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size true_encoding-1.0.2-py3.5.egg (2.7 kB) File type Egg Python version 3.5 Upload date Hashes View hashes
Filename, size true_encoding-1.0.2.tar.gz (2.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page