On 25 Oct 2009, at 08:33 , elca wrote:

www.cnn.com in main website page.
for example ,if you see www.cnn.com's html source, maybe you can find such
like line of html source.
http://www.turnerstoreonline.com/ CNN Shop
and for example if i want to extract 'CNN Shop' text in html source.

So, if I understand you correctly, you want your program to do the following:

1. Retrieve the http://cnn.com webpage
2. Look for a link identified by the text "CNN Shop"
3. Extract the URL for that link.

The result would be http://www.turnerstoreonline.com

Is that what you want?

Greetings,
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to