On 07/21/2008 03:49 PM, Davide Alberani wrote: > And, if I'm not wrong, specifying 'multi' will ensure that we > always get a list, even when there's only one element returned. >
Yes. > Sure; first of all, run the build_tests.py script; this will > populate the standalone.old/ and standalone.new/ directories > with scripts useful to run single tests. This is very easy for finding out what's wrong, thanks. I've corrected one small error in the official sites parser, but I couldn't fix another batch of errors in that family (external revs, sound clips, etc.). The error comes from the spaces in the URLs, note the MovieDoo link in the output of the test_soundclips_parser_m27.py test I've pasted below. Should I try to fix this in the normalize_href function or does it come from some earlier function like subXMLRefs? Actually, I'm on vacation these two weeks, so I sit at a computer occasionally. That's why there can be delays with my replies and commits. Turgut ============================================================= old parser: ... SOUND CLIPS => [(u'Wavplanet.com', u'http://wavplanet.com/wavs.php?cat=1&subcat=91'), (u'MovieDoo Sound Clips', u'http://www.MovieDoo.com/?MovieTitle=Matrix (1999), The'), (u'Movie Sounds Central', u'http://www.moviesoundscentral.com/matrix.htm')] new parser: ... SOUND CLIPS => [(u'Wavplanet.com', u'http://wavplanet.com/wavs.php?cat=1&subcat=91'), (u'MovieDoo Sound Clips', u'http://www.MovieDoo.com/?MovieTitle=Matrix%20%281999%29%2C%20The'), (u'Movie Sounds Central', u'http://www.moviesoundscentral.com/matrix.htm')] ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Imdbpy-devel mailing list Imdbpy-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-devel