feedparser.text content type

I need to change this line from

true_encoding = http_encoding or ‘us-ascii’

to

true_encoding = http_encoding or xml_encoding or ‘us-ascii’

for those buggy sites that don’t obey the standard. And set content type to text/* but don’t offer a charset, set their encoding in the xml file.

Tags: , ,

Post a Comment

You could use <code type="name"> to get your code colorized

Your email is never published nor shared. Required fields are marked *

Close
E-mail It