Dear IMDbpy developers,
I'm working on an IMDB chatbot for a school project, and my specific task is to 
make a function that makes movie recommendationsto the user. However, this 
requires making use of information such as a movie's cast, votes, and rating, 
each of which I'm having issues with.
Regarding cast, so far I haven't had any luck in obtaining a movie object that 
has cast info available as a key. I obtained various objects by searching via 
title.I've tried print movieObject.keys()on numerous movies including 'The Lion 
King', 'Mystery Men', '3:10 to Yuma', 'Gladiator', 'Inception', and 'Wall-e', 
just to name a few,but 'cast' doesn't show up in the list of keys. I've even 
tried print movieObject['cast']but this results in a Traceback error displaying 
KeyError: 'cast'. My group is using a SQL database to make these calls. Is this 
a bug or could there possibly be something wrong with our database?
In addition, I am unable to find ratings or votes in the database. The 
query:select * from  movie_info mi join info_type it on mi.info_type_id = it.id 
where it.info = 'runtimes' group by mi.info;yields results, as well as in the 
case where it.info = 'genres'.However, if I change it.info to 'votes', 'cast', 
or 'rating', I get 0 rows. What could be the reason for the missing information?
This information is very crucial to our project and our group is quite short on 
time, so if you could investigate this problem as soon as you can, that would 
be greatly appreciated. 
Thanks!Te Wan Kim
                                          
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to