Thank you for the quick reply.

My code sample is:
***
from imdb import IMDb
from itertools import ifilter
i = IMDb('http')

search_results = i.search_movie('Pretty Handsome')

# Filter first TV series
search_results=ifilter(lambda s:s['kind']=='tv series',search_results)

for res in search_results:
   print res.movieID, res, type(res), res['kind']
***
It prints nothing.
Testing this with your code sample, i found out that the result 'kind' was:
'tv movie' and not 'tv series' like i expected.
Is this the correct classification? If so it is different than what
'README.series' says.

-Yoav.


On Mon, Nov 24, 2008 at 10:29 AM, Davide Alberani <[EMAIL PROTECTED]
> wrote:

> On Nov 23, Yoav Aviram <[EMAIL PROTECTED]> wrote:
>
> > Searching for TV series named: 'Pretty Handsome' or 'Stargate
> > Continuum' or 'East Bound and Down', all return no matches.
>
> Hi,
> I'm unable to reproduce this bug (for obvious reasons I'm running
> the CVS version, but if I recall correctly the http search system is
> identical to 3.8).
>
> My code:
> from imdb import IMDb
> #i = IMDb('mobile')
> i = IMDb('http')
> for res in i.search_movie('Pretty Handsome'):
>    print res.movieID, res, type(res)
>
>
> My output (with both 'http' and 'mobile'):
> 0871425 Pretty/Handsome <class 'imdb.Movie.Movie'>
>
> I've tested the other titles, too.
>
>
> Can you confirm the bug and show me your code?
>
>
> Thank you!
> --
> Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
> http://erlug.linux.it/~da/ <http://erlug.linux.it/%7Eda/>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to