how can i use lxml with win32com?

User motoom at xs4all.nl
Sun Oct 25 03:41:50 EDT 2009


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,



More information about the Python-list mailing list