OFDB v2 - OFDB scanner relaunch - can you help please?

Hi folks,
OFDB.de is a German movie and TV show database with descriptions, age rating, critics’ ratings, German movie titles, German genres, etc.
A couple of friendly souls maintained an OFDB.bundle for some time, but a recent update to the UI of ofdb.de broke it.

I am working on an update, but my plugin uses an IMDB search of ofdb.de which automatically redirects to the movie page. And this breaks the python code in case of the movie title contains special characters - anything non A-Z,0-9,a-z). And I cannot do something about it since the search is directly redirected to a URL which Python then throws an error on.

I’ve found another search, but the result of that does not return a web page but a list of JSON objects and I never did something to access this.

Please see my request here:

I bet that this is doable with Python 2.7 and should not be more than a few lines of code, but I need help from a kind soul here (see referred thread above).

If you feel you can help, then please… help me here.

Right now, I am calling:
https://www.ofdb.de/imdb.php?id=tt0056846

Which throws an error because of the redirection.

I would love to get the URL from:
https://www.ofdb.de/quicksearch.php?term=tt0056846

which rteturns the URL as a string inside of a list of JSON objects.

The given URL
https://www.ofdb.de/film/23685,Die-Blonde-S\u00fcnderin/
should then be changed to:

which would not throw that Python error.

Thread can be closed… new version of OFDB.bundle has been released.