Open gazpachoking opened 10 years ago
All country codes are supposed to be ISO 3166-1 codes, meaning two uppercase ASCII letters, so "Србија" is invalid data in the TMDB database. I'll add something in there to discard the entry with a warning, similar to invalid dates.
Sounds good, thanks!
A traceback from our software when looking up a movie which has an alternate title with a non-ascii country name. The code calls str(country) which will fail for any non-ascii country name. If country codes are meant to be ascii only, the library should throw out the invalid result. If not, it should always be dealing with the result as unicode, and never as bytes.
The movie causing this traceback is Rocky (tt0075148).