I love Mercurial. :-) Have fun with this fork (soon it will be merged): http://bitbucket.org/alberanid/imdbpy_import_xml/overview/
New feature: since some time IMDbPY can dump its object into XML strings/files; now you can use this XML to recreated IMDbPY objects (instances of classes Movie, Person, Character and Company). I've not tested it extensively, and for sure it will fail here and there (and the code is not exactly nice to look at). You can test it this way (no output is a good sign ;-): from imdb import IMDb from imdb.helpers import parseXML ia = IMDb('http') matrix = ia.get_movie('0133093') xml = matrix.asXML() matrix_rebuilt = parseXML(xml) for key in sorted(matrix.keys()): origValue = matrix[key] rebuiltValue = matrix_rebuilt.get(key) if origValue != rebuiltValue: print 'ERROR', key print origValue print rebuiltValue print '' -- Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47] http://www.mimante.net/ ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel