SAKTHEESH wrote:

> I am using Beautiful Soup to parse a html to find all text that is Not
> contained inside any anchor elements
> 
> I came up with this code which finds all links within href 

_anchors_ _with_ `href' _attribute_ (commonly: links.)

> but not the other way around.

What would that be anyway?

> How can I modify this code to get only plain text using Beautiful
> Soup, so that I can do some find and replace and modify the soup?

RTFM: 
<http://www.crummy.com/software/BeautifulSoup/documentation.html#contents>

-- 
PointedEars

Bitte keine Kopien per E-Mail. / Please do not Cc: me.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to