bs4.BeautifulSoup.decode

BeautifulSoup.decode(pretty_print=False, eventual_encoding='utf-8', formatter='minimal')[source]

Returns a string or Unicode representation of this document. To get Unicode, pass None for encoding.