I am trying to learn Python, so I thought I would start by trying to query IMDB to check my movie collection against IMDB; which was going well
What I am stuck on is how to handle special characters in names, and encode the name to something a URL will respect.
For example I have the movie Brüno
If I encode the string using urllib.parse.quote
I get - Bru%CC%88no
which means when I query IMDB using OMDBAPI it fails to find the movie. If I do the search via the OMDBAPI site, they encode the name as Br%C3%BCno
and this search works.
I am assuming that the encode is using a different standard, but I can’t work out what I need to do