You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would it be possible to implement a "localized cover url" key and a "localized plot" key similarly to the already implemented "localized title"?
For example, by browsing form Italy the url of this english movie https://www.imdb.com/title/tt15767808/ the site displays the italian cover and the italian plot.
The following code initializes cinemagoer with italian language, then gets the english movie by ID, finally prints the original (english) title and the localized (italian) title.
from imdb import Cinemagoer
ia = Cinemagoer(languages='it-IT')
movie = ia.get_movie('15767808')
for key in ['original title', 'localized title']:
print(f'{key}: {movie[key]}')
original title: The Last Kingdom: Seven Kings Must Die
localized title: The Last Kingdom: sette re devono morire
With movie['cover url'] we get the (english) cover url and with movie['plot'] we get the english plot, it would be nice to get the localized (italian) cover url with something like movie['localized cover url'] and the localized plot with something like movie['localized plot'].
Are localized cover url and plot difficult to get?
The text was updated successfully, but these errors were encountered:
Feature request
Would it be possible to implement a "localized cover url" key and a "localized plot" key similarly to the already implemented "localized title"?
For example, by browsing form Italy the url of this english movie https://www.imdb.com/title/tt15767808/ the site displays the italian cover and the italian plot.
The following code initializes cinemagoer with italian language, then gets the english movie by ID, finally prints the original (english) title and the localized (italian) title.
With
movie['cover url']
we get the (english) cover url and withmovie['plot']
we get the english plot, it would be nice to get the localized (italian) cover url with something likemovie['localized cover url']
and the localized plot with something likemovie['localized plot']
.Are localized cover url and plot difficult to get?
The text was updated successfully, but these errors were encountered: