I am having problems with a code created in Python, and it is that when I generate some texts in json, the accents are not appreciated.
This is the code I'm using:
import requests
url = requests.get(f"https://images.habbo.com/habbo-web-news/es/production/front.json")
summary = url.json()[0]['summary']
print(summary)
This is the text that generates me:
Nos estamos preparando para esos fríos meses de invierno con unos merecidos mimos en el Onsen japonés.
I am having problems with a code created in Python, and it is that when I generate some texts in json, the accents are not appreciated.
Someone could help me?