I have the following string...
"Scam, hoax, or the real deal, he’s gonna work his way to the bottom of the sordid tale, and hopefully end up with an arcade game in the process."
I need to turn it into this string...
Scam, hoax, or the real deal, he’s gonna work his way to the bottom of the sordid tale, and hopefully end up with an arcade game in the process.
This is pretty standard HTML encoding and I can't for the life of me figure out how to convert it in python.
I found this: GitHub
And it's very close to working, however it does not output an apostrophe but instead some off unicode character.
Here is an example of the output from the GitHub script...
Scam, hoax, or the real deal, heâs gonna work his way to the bottom of the sordid tale, and hopefully end up with an arcade game in the process.