4 ms·
That is quite nifty implementation of reverse HTML escaping. But in python that could be done with much less work: import html print(html.unescape(foo)) A
by nousermane 3y ago
That is quite nifty implementation of reverse HTML escaping. But in python that could be done with much less work:
import html
print(html.unescape(foo))
And the best part - you don't need to debug/update the (g)sub list every time you stumble upon new weird &whatever; too. And there are a lot of those out there:
https://www.freeformatter.com/html-entities.html https://www.freeformatter.com/html-entities.html
- chasil 3y agoThe only thing that changed since I originally wrote it was the location of the file. https://www.reddit.com/r/LineageOS/comments/gzm7to/wifi_password_extraction_script/?rdt=62369 https://www.reddit.com/r/LineageOS/comments/gzm7to/wifi_pass...