IMDb API调用返回USA别名标题而非原始标题的问题咨询
ia.get_movie() return the US alias instead of the original title for Blood Oath (1990)? First off, this isn’t an error on your part—this is intentional behavior in the IMDbPY library.
When you call ia.get_movie('0100414') without specifying additional info parameters, the library defaults to fetching the region-specific title for the US market (which is Prisoners of the Sun for this film) instead of the original title listed on IMDb’s main page.
How to retrieve the original title
To get the original title (Blood Oath), you need to explicitly request the original title field when fetching the movie data. Adjust your code like this:
# Fetch movie data with explicit request for original title movie = ia.get_movie('0100414', info=['original title']) # Access the original title print(movie['original title']) # Outputs: Blood Oath (1990)
If you want to view all available titles (including aliases and the original), you can use the akas info parameter (which you mentioned you already know how to work with):
movie = ia.get_movie('0100414', info=['akas']) print(movie['akas'])
Why this default behavior exists
IMDbPY’s standard get_movie() call prioritizes localized titles based on common regional settings (often US English) unless instructed otherwise. The original title is stored as a separate entry in IMDb’s database, so you have to explicitly ask for it to override the default localized title.
内容的提问来源于stack exchange,提问作者dwids

