Python string prints as [u’String’]
[u’ABC’] would be a one-element list of unicode strings. Beautiful Soup always produces Unicode. So you need to convert the list to a single unicode string, and then convert that to ASCII. I don’t know exaxtly how you got the one-element lists; the contents member would be a list of strings and tags, which is … Read more