<p dir="auto">For example it detects <a href="http://www.15min.lt" rel="nofollow">http://www.15min.lt</a> encoding as ISO-8859-1, but the encoding is set as utf8 </p>
<p dir="auto">Requests has a <code class="notranslate">get_encodings_from_content()</code> function, but it doesn't seem to be used anywhere -- only <code class="notranslate">get_encoding_from_headers()</code> is used.</p>
<p dir="auto">Any reason why? I'd think on most pages, trying for the meta tag encoding declaration first will produce better results. See The Verge, for one example (the meta tag declares encoding as utf-8, but Requests detects as ISO-8895-1).</p>