Thanks, useModule is good enough for my needs.

Now if only we could get someone to clean up the parsers for the imdb
redesign so I could get rid of the error messages related to that.  If
only I had the time right now...

On Mon, Nov 1, 2010 at 3:15 AM, Davide Alberani
<davide.alber...@gmail.com> wrote:
> On Sun, Oct 31, 2010 at 9:15 PM, Dustin Wyatt <dustin.wy...@gmail.com> wrote:
>> What's the best way to suppress the warning about not having lxml?
>
> Probably the best way is to set the 'useModule' parameter, initialiazing
> the IMDb instance.
> Something like:
>  from imdb import IMDb
>  ia = IMDb('http', useModule='beautifulsoup')
>
> It can also be set in the imdbpy.cfg configuration file (it should be copied
> in your home directory as an hidden file, or in /etc)
>
> Anyway, it would be a good idea to have a way to turn off all the
> warnings from the code/configuration options.
>
>
> HTH,
> --
> Davide Alberani <davide.alber...@gmail.com>  [PGP KeyID: 0x465BFD47]
> http://www.mimante.net/
>

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Imdbpy-help mailing list
Imdbpy-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/imdbpy-help

Reply via email to