I'm working with wikipedia, and I'm having some coding problems. When I add such a link in my browser everything works fine:
That goes for the article with the following name:
That's the same article but the url is being shown differently. In other words, there is an encoding occurring there.
But I'm mining the topviews of wikipedia:
And in the case of this article I received the same title with the following name through the API:
"A\u015bvagho\u1e63a": {
"assessment": "Stub",
"num_users": 1,
"assessment_img": "f/f5/Symbol_stub_class.svg",
"num_edits": 1
},
But when I try to mount the following url:
https://en.wikipedia.org/wiki/A\u015bvagho\u1e63a
Certainty does not work.
What I want to know is how I can code this way (In python3):
A\u015bvagho\u1e63a -> A%C5%9Bvagho%E1%B9%A3a