Hi,

I've been using imdbpy for months now, and I think it's the greatest thing
ever.  Thanks for all your hard work.  One thing I noticed when using the
'sql' access system, however, is that many movies do not return results for
get_imdbID().  I tried many types of movies, and it seems that movies that
start with "The" (and I assume all other articles) never can fetch the
imdbID.  Here is an example:

>>> ia.search_movie('the dark knight (2008)')
[<Movie id:119727[sql] title:_Dark Knight, The (2008)_>, <Movie
id:119726[sql] title:_Dark Knight, The (1995)_>, <Movie id:518638[sql]
title:_Tyomnaya noch' (2001)_>, <Movie id:354548[sql] title:_Noche oscura,
La (1989)_>, <Movie id:742094[sql] title:_"Dark Knight" (2000)_>, <Movie
id:119724[sql] title:_Dark Knight Project, The (2008)_>, <Movie
id:369306[sql] title:_Oscura noche (2004)_>, <Movie id:365072[sql]
title:_One Dark Night (1983)_>, <Movie id:278435[sql] title:_Laila Affel
(2005)_>, <Movie id:119763[sql] title:_Dark Night (2006)_>, <Movie
id:24195[sql] title:_An ye (1986)_>, <Movie id:119766[sql] title:_Dark Night
of the Soul (2002)_>, <Movie id:119971[sql] title:_Darkening, The (1995)_>,
<Movie id:119758[sql] title:_Dark Mist, The (1996)_>, <Movie id:370004[sql]
title:_Others, The (2001)_>, <Movie id:120056[sql] title:_Darkness, The
(2009)_>, <Movie id:119570[sql] title:_Dark Angel, The (1987) (TV)_>, <Movie
id:119569[sql] title:_Dark Angel, The (1983)_>, <Movie id:119568[sql]
title:_Dark Angel, The (1935)_>, <Movie id:119567[sql] title:_Dark Angel,
The (1925)_>]
>>> tdk = ia.search_movie('the dark knight (2008)')[0]
>>> ia.get_imdbID(tdk)
>>> ia.search_movie('pokemon the first movie (1999)')
[<Movie id:392024[sql] title:_PokÃ(c)mon: The First Movie (1999)_>, <Movie
id:189828[sql] title:_Gekijô-ban poketto monsutâ: Maboroshi no pokemon:
Rugia bakutan (1999)_>, <Movie id:392025[sql] title:_PokÃ(c)mon: The Movie
2000 (2000)_>, <Movie id:373633[sql] title:_Paix sur les champs (1970)_>,
<Movie id:373180[sql] title:_Pagini de vitejie (1959)_>, <Movie
id:404914[sql] title:_Pussyman 2: The Prize (1993) (V)_>, <Movie
id:96955[sql] title:_Cin cin (1991)_>, <Movie id:495352[sql] title:_Tendre
et violente Elisabeth (1960)_>, <Movie id:386800[sql] title:_Pig in the
Python (1992) (TV)_>, <Movie id:385902[sql] title:_Picasso on the Beach, A
(1988)_>, <Movie id:385898[sql] title:_Picasso and Braque Go to the Movies
(2008)_>, <Movie id:128338[sql] title:_Deugeoun annyeong (1967)_>, <Movie
id:373276[sql] title:_Paid to Love (1927)_>, <Movie id:174601[sql]
title:_Fleur empoisonnÃ(c)e, La (1909)_>, <Movie id:396323[sql] title:_Poëzie
in het paleis (1967) (TV)_>, <Movie id:378580[sql] title:_Passion de
Bernadette, La (1989)_>, <Movie id:405355[sql] title:_Puzzled Pals (1933)_>,
<Movie id:391835[sql] title:_Poisoned Paradise (1924)_>, <Movie
id:391823[sql] title:_Poisoned Bit, The (1914)_>, <Movie id:378747[sql]
title:_Passionate Pupils (1986)_>]
>>> pokemon = ia.search_movie('pokemon the first movie (1999)')[0]
>>> ia.get_imdbID(pokemon)
'0190641'

I'm using the latest dev version (from Jan. 27, 2009), on a fresh new local
imdb database from imdbpy2sql.py.

However, I noticed that many movies with "The" in the title (such as The
Dark Knight) in my old backed-up imdb database DO have imdbIDs, which leads
me to believe that at some time in the past the imdbIDs were getting pulled
in successfully, but now they aren't anymore.

Thanks for any help!

-Hieu
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to