Re: Help with using findAll() in BeautifulSoup

2008-07-12 Thread Paul McGuire
On Jul 12, 12:55 am, Stefan Behnel <[EMAIL PROTECTED]> wrote: > Alexnb wrote: > > I am making an app that screen scapes > > dictionary.com for definitions. > > Do they have a policy for doing that? > >From the Dictionary.com Terms of Use (http://dictionary.reference.com/ help/terms.html): 3.2 You

Re: Help with using findAll() in BeautifulSoup

2008-07-11 Thread Stefan Behnel
Alexnb wrote: > Okay, I am not sure if there is a better way of doing this than findAll() but > that is how I am doing it right now. Consider using lxml.html and lxml.cssselect. http://codespeak.net/lxml/ > I am making an app that screen scapes > dictionary.com for definitions. Do they have a

Help with using findAll() in BeautifulSoup

2008-07-11 Thread Alexnb
Okay, I am not sure if there is a better way of doing this than findAll() but that is how I am doing it right now. I am making an app that screen scapes dictionary.com for definitions. However, I would like to have the type of the word for each definition. For example if def1 and def2 are noun def