Re: BeautifulSoup problem

2006-10-20 Thread placid
Marc 'BlackJack' Rintsch wrote: > In <[EMAIL PROTECTED]>, placid wrote: > > > Hi all, > > > > Just wondering if anyone knows how to get the text between the tags of > > the following Tag object? > > > > Hello > > Are you looking for a way to search for tag *and* attributes? What about > this:: >

Re: BeautifulSoup problem

2006-10-20 Thread Marc 'BlackJack' Rintsch
In <[EMAIL PROTECTED]>, placid wrote: > Hi all, > > Just wondering if anyone knows how to get the text between the tags of > the following Tag object? > > Hello Are you looking for a way to search for tag *and* attributes? What about this:: In [12]: soup.find('span', {'class': 'nametext'})