Hmm, thanks for that, that seems to help a lot. Except when I use httpThin, I don't get:
1) production companies 2) producers 3) casting directors 4) editors Everything else seems to be complete far as I can tell (except no longer getting an obscene amount of actors). Is there some documentation somewhere that shows what exactly is missing in httpThin and how to get each individual item missing manually? Roman 2009/5/4 Davide Alberani <[email protected]>: > On May 04, Roman Gaufman <[email protected]> wrote: > >> Is there no way to get a list of just actors mentioned on the main >> page for the movie? > > If you're fetching the data from the web, you can use other > data access systems (beyond the default "http" - which uses the > "combined" page as its main source of information) to fetch > less data: both "mobile" and "httpThin" uses the "maindetails" > page. > "httpThin" uses the same parser of "http" (it just fetches the > main details page) while "mobile" is a different parser, tailored > for systems with little CPU/bandwidth resources. > > E.g.: > from imdb import IMDb > ia = IMDb('httpThin') # or "mobile" > movie = ia.search_movie('12 Angry Men')[0] # gets the first result. > ia.update(movie) # updates the information. > print len(movie['cast']) # will print 12, and not 16 as "http". > > It goes without saying that some information present in "combined" > are not present in "maindetails", so it's up to you to decide if > you need them or not. > > > HTH, > -- > Davide Alberani <[email protected]> [GPG KeyID: 0x465BFD47] > http://erlug.linux.it/~da/ > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Imdbpy-help mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/imdbpy-help > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Imdbpy-help mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/imdbpy-help
