how can i use lxml with win32com?
elca
highcar at gmail.com
Sun Oct 25 03:33:50 EDT 2009
hello,
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.
and i want to add such like function ,with following script source.
from BeautifulSoup import BeautifulSoup
from PAM30 import PAMIE
from time import sleep
url = 'http://www.cnn.com'
ie = PAMIE(url)
sleep(10)
bs = BeautifulSoup(ie.getTextArea())
#from here i want to add such like text extract function with use PAMIE and
lxml or beautifulsoup.
thanks for your help .
in the cnn website's html source
there i
motoom wrote:
>
>
> On 25 Oct 2009, at 08:06 , elca wrote:
>
>> because of javascript im trying to insist use PAMIE.
>
> I see, your problem is not with lxml or BeautifulSoup, but getting the
> raw data in the first place.
>
>
>> i want to extract some text in CNN website with 'CNN Shop'
>> 'Site map' in bottom of CNN website page
>
> What text? Can you give an example? I'd like to be able to reproduce
> it manually in the webbrowser so I get a clear idea what exactly
> you're trying to achieve.
>
> 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--tp26044339p26045766.html
Sent from the Python - python-list mailing list archive at Nabble.com.
More information about the Python-list
mailing list