On Jan 10, Mike Castle <dalg...@gmail.com> wrote:

> > Notice that there are cases where your function can return
> > the wrong thing (I'm not sure about akas, but the year can
> > be something like (1999/II), meaning that this is the second
> > movie with the same title produced that year).
> 
> Wait, did you just change all years to be ints though?

Once parsed by analize_title - in the 'year' key (if present) of the
returned dictionary - yes, they are always integers.
I was referring to the title displayed on the web pages or in the
plain text data files.  A random example:
  30 Days (2006/I)
  30 Days (2006/II)

to represent two different movies, both titles "30 Days" and
both produced in 2006.
The "I" and "II" roman numbers will end up, in the dictionary
returned by analize_title, in the key 'imdbIndex'.

There are other "extensions" (like "(TV)", "(VG)", the '"' used
to enclose series titles, ...) that are gracefully handled by
the analize_title function.
That's way I suggested to use it, instead of your custom code.

> Then I attack the TV Series.

There's some documentation, written in my funny english, in
README.series about them.

-- 
Davide Alberani <davide.alber...@gmail.com> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to