Closed rgaudin closed 7 months ago
The first one is https://americangirl.fandom.com/wiki
(it is the URL passed by the "user")
The next one is https://americangirl.fandom.com/wiki/Wiki
(it is the URL after following redirects, probably what requests choose to display here)
I don't think there is any problem here
My bad, I thought it was the opposite 😵💫
In this run on zimit, the error message is the following:
Notice that the passed URL has a title cases
Wiki
at the end while the error message has a lowercasewiki
.Source code apparently only uses
urllib.parse.urlparse(url).geturl()
which should return the same URL in this case