On Fri, Feb 10, 2017 at 3:16 PM, Gaspare Marco Covello
<covello.gasp...@gmail.com> wrote:
>
> hello, i'm going mad trying to get infos in some other language(in my case
> italian) about a movie such as title, plot and other...

Not sure that plot is available in any language other than English.

Using IMDbPY, you can only access title's AKAs (Also Known As).

Example:

>>> from imdb import IMDb
>>> ia = IMDb()
>>> m = ia.get_movie('0096438')
>>> print m.get('akas')
[u'\xbfQui\xe9n enga\xf1\xf3 a Roger Rabbit?::Argentina, Mexico (imdb
display title), Peru, Spain', u'\u041a\u0442\u043e
\u043f\u043e\u0434\u0441\u0442\u0430\u0432\u0438\u043b
\u043a\u0440\u043e\u043b\u0438\u043a\u0430
\u0420\u043e\u0434\u0436\u0435\u0440\u0430::Russia, Soviet Union
(Russian title)', u'Falsches Spiel mit Roger Rabbit::Germany (imdb
display title), West Germany', u'Qui veut la peau de Roger
Rabbit?::Canada (French title), France',
u'\u03a0\u03bf\u03b9\u03bf\u03c2
\u03c0\u03b1\u03b3\u03af\u03b4\u03b5\u03c8\u03b5 \u03c4\u03bf\u03bd
\u03a1\u03cc\u03c4\u03b6\u03b5\u03c1
\u03a1\u03ac\u03bc\u03c0\u03b9\u03c4::Greece', u'\u041a\u043e\u0439
\u043d\u0430\u0442\u043e\u043f\u0438 \u0437\u0430\u0435\u043a\u0430
\u0420\u043e\u0434\u0436\u044a\u0440?::Bulgaria (Bulgarian title)',
u'Chi ha incastrato Roger Rabbit::Italy (imdb display title)', u'Hvem
lurte Roger Rabbit?::Norway (imdb display title)', u'Hvem sn\xf8rede
Roger Rabbit?::Denmark (imdb display title)', u'Kdo je potunkal
Rogerja zajca::Slovenia (imdb display title)', u'Ko je smestio Zeki
Rod\u017eeru::Serbia', u'Kto wrobil kr\xf3lika Rogera?::Poland',
u'Kuka viritti ansan, Roger Rabbit?::Finland', u'Masum sanik Roger
Rabbit::Turkey (Turkish title)', u'Poios pagidepse ton Roger
Rabbit?::Greece (transliterated ISO-LATIN-1 title)', u'Quem Tramou
Roger Rabbit?::Portugal', u'Qui ha enredat en Roger Rabbit?::Spain
(Catalan title) (imdb display title)', u'Roger Rabbit::Japan (English
title) (imdb display title)', u'Roger ny\xfal a p\xe1cban::Hungary',
u'Uma Cilada Para Roger Rabbit::Brazil', u'Vem satte dit Roger
Rabbit::Sweden (imdb display title)', u'Vem satte dit Roger
Rabbit?::Finland (Swedish title)']

To identify your language, simply split each entry at '::' and see if
"Italian" or "Italy" is
contained in the second item.


Hope this helps,

-- 
Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x3845A3D4AC9B61AD]
http://www.mimante.net/

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to