Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Localized cover url and localized plot #499

Open
ywtv opened this issue Jan 8, 2024 · 0 comments
Open

Feature request: Localized cover url and localized plot #499

ywtv opened this issue Jan 8, 2024 · 0 comments

Comments

@ywtv
Copy link

ywtv commented Jan 8, 2024

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.

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant