Re: How to exctract title of links

2005-04-26 Thread Larry Bates
You should take a look at BeautifulSoup at: http://www.python.org/pypi/BeautifulSoup/2.0.2 Larry Bates raver2046 wrote: > here i have a link http://raver2046.ath.cx/CV/";>cv network > admin > > how to extract "cv network admin" > > > here is the code i have find to exctract link but not ti

Re: How to exctract title of links

2005-04-26 Thread prasad
import htmllib, formatter, urllib class x(htmllib.HTMLParser): inanchor = True # indicates whether we are inside anchor element def dump(self, tag, attrs): #print tag, for a, v in attrs: if a in ['a', 'src', 'href']: print v, print #