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.

Source Distribution

true_encoding-1.0.2.tar.gz (2.6 kB view hashes)

Uploaded source

Built Distribution

true_encoding-1.0.2-py3.5.egg (2.7 kB view hashes)

Uploaded 3 5

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page