hello, im very sorry my english. yes i want to extract this text 'CNN Shop' and linked page 'http://www.turnerstoreonline.com'. thanks a lot!
motoom wrote: > > > 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 > > -- View this message in context: http://www.nabble.com/how-can-i-use-lxml-with-win32com--tp26044339p26045811.html Sent from the Python - python-list mailing list archive at Nabble.com. -- http://mail.python.org/mailman/listinfo/python-list