This may be a duplicate but I can't solve my problem. This line gives me the error
TypeError: 'str' does not support the buffer interface .
unescaped = html.replace(r'\""', '"')
Does it mean I have to write
unescaped = html.replace(bytes(r'\""', 'UTF-8'), bytes('"', 'UTF-8'))
Each time I need to replace a string?
Thank you in advance.