Jamie,

The IMDB ID's are not in the flat files you download. To find the  
appropriate IMDB ID, you can use the .get_imdbID() method on the IMDb  
class, passing an object of a Movie or a Person.

Example:
i = IMDb(sql, ....)
r = i.search_movie('The Incredibles')

print i.get_imdbID(r[0])

What the script does, is to do a search on IMDB for "Movie Title  
(Year)", which usually returns a single match. This functions over  
HTTP. I too, would prefer, if the IMDB ID was in the flat files, but  
there's not much Davide can do about it.

On a side note, once the IMDB ID is fetched once, it will fill the  
imdb_id column, and you won't do a lookup on HTTP the next time.

On May 24, 2007, at 7:14 AM, Jamie Rytlewski wrote:

> First off I want to say that I love the script.  Second of all, I'm  
> not seeing it in the flat files, but is there any way to get IMDB  
> id when performing the imdbpy2sql.py?  I see the table title has a  
> field called imdb_id, but in my database they are all null.  Is  
> that the case?  If so, does anyone have a way to get the imdb_id,  
> just the same way you can with the search_movie.py.
>
> Thank you for your help,
>
> Jamie
>
>
>
> ______________________________________________________________________ 
> ______________
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
>
> ---------------------------------------------------------------------- 
> ---
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Imdbpy-devel mailing list
> Imdbpy-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

-- 
Jesper Noehr
[EMAIL PROTECTED]




-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Imdbpy-devel mailing list
Imdbpy-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-devel

Reply via email to