Sébastien Ragons
Thu, 11 Feb 2010 15:21:55 -0800
2010/2/11 Davide Alberani <davide.alber...@gmail.com> > On Feb 11, Sébastien Ragons <srag...@gmail.com> wrote: > > > I try to test imdbpy and have difficulties whith Extrator. > > Woah! That's an unusual request. :-) > That set of extractors were meant to be used internally by > IMDbPY: the fact that someone else is using it for another > pourpose is just another sign of the excellent work of Turgut! >
first i try to test (unit test), understand how imdbpy work after, i'd like to create a xml local base of my movie collection. > > In fact your code works as-is for me, but notice this: > > > <employe num="1"> > [...] > > path="//employer", > > In the XML (by the way: don't forget to close the outer "employes" tag...) > you're using "employe", while in the code "employer". > Changing one of these, will fix your problem. > > oupppps ;) it works without the 'r' > Anyway, keep in mind that DOMParserBase was thought to parse > HTML pages, and is somewhat tailored to the information we need > to retrieve for IMDbPY. > > > HTH, > -- > Davide Alberani <davide.alber...@gmail.com> [GPG KeyID: 0x465BFD47] > http://www.mimante.net/ >
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ Imdbpy-help mailing list Imdbpy-help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/imdbpy-help