I am trying to read some web pages, but my code returns some HTML entities instead of their equivalent character. How can I convert those HTML entities to their equivalent characters?
E.g.
string with HTML entities
'<a href="https://www.youtube.com">youtube.com</a>'
to
<a href="https://www.youtube.com">youtube.com</a>