I was data scraping the other day and saving the output to a JSON file, but the text in one of the entries was coming out wrong. Instead of “Antal Dovcsák”, it was coming out as “Antal Dovcs\u00e1k” instead. For context, my code looked something like this: And the output was this… After some googling […]
Tag: decoding
Categories
Coding and Decoding urls – Python
Url addresses can’t have special characters, so some of these are encoded. An example would be a url that contains spaces, such as Which then gets encoded to More on url encoding here: http://www.w3schools.com/tags/ref_urlencode.asp What this means is that if we want to have a list of addresses which have url, you may end up […]