On Jun 15, James Rubino <[EMAIL PROTECTED]> wrote:

> Using search_person and reading the dictionary data from those results I do
> get a list of titles.
> eg. [<Movie id:12345[http] title:_Title1, The (2008)_>]
> 
> How do I neatly extract from the list just the titles?

titles_as_unicode_strings = [movie['title'] for movie in list_of_movies]

There are other variations of 'title': try 'canonical title',
'long imdb title' and 'long imdb canonical title' to see which
suites your needs.  In general, see:
  http://imdbpy.sourceforge.net/?page=docs


-- 
Davide Alberani <[EMAIL PROTECTED]> [PGP KeyID: 0x465BFD47]
http://erlug.linux.it/~da/

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to