scrape url out of brackets?

Mike Meyer mwm at mired.org
Sat Dec 24 20:51:02 EST 2005


homepricemaps at gmail.com writes:

> any idea how to scrape a url out of a file?  for instance if i want to
> scrape out the href at the end which is "www.cnn.com" is there a way to
> do it?
> <tr class="rulesbody"><td width="183" class="rulesbody"><a
> href="www.cnn.com">

BeautifulSoup.

        <mike
-- 
Mike Meyer <mwm at mired.org>			http://www.mired.org/home/mwm/
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.



More information about the Python-list mailing list