On Mon, Feb 7, 2011 at 1:47 AM, Sereno Polveroso <serenopolver...@hotmail.com> wrote: > Thanks, now it's ok!
Good! > I have only one more question: I've seen that IMDb shows you immediatly the > films italian akas, for example if you search Tarantino in filmography it > shows you "Bastardi senza gloria" instead of the english title. Is there a > way to obtain this in the field 'director', for example in the program you > have send me. Or i have always to uodate the film and search the key 'akas' > and then search the italian aka?? I fear there's no easy way. Some time ago it was possible, setting IMDbPY to point to the italian.imdb.com site, but now that site is an alias for imdb.it, which has slightly different web pages. You can do some tests changing the "imdbURL_base" variable in the imdb/__init__.py file, but expect some problems. Once you have all the information about a movie (after the 'update'), you can use the "guessLanguage" method of a Movie instance, to get its language. With that, one can more or less easily write a function to extract the AKA in the original language. To tell the truth we can also check for some special notes in the AKA list (e.g.: "original title" or something like that). Hmmm... this is a feature we can take into consideration for a future release. :-) -- Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47] http://www.mimante.net/ ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help