[python-win32] IE interface PAMIE javascript click or win32 ie click
elca
highcar at gmail.com
Thu Nov 12 03:24:08 CET 2009
Tim Roberts wrote:
>
> elca wrote:
>> these day im making some script.
>>
>> i have encounter some problem with my script work.
>>
>> problem is i want to click emulate javascript on following site.
>>
>> http://news.naver.com/main/presscenter/category.nhn
>>
>> this site is news site. and everyday news content also changed, but
>> javascript is not changed.
>>
>> for example i want to click javascript every inside 'li' element .
>>
>> how can i make it work with Pamie or win32com IE interface?
>>
>
> I guess I'm not sure what you're after. You can certainly read the
> HTML, find the links, and fetch the pages they point to, if you want to
> get the individual news items. You could do that with urllib2, without
> using IE at all. However, each section of that page points to a
> different provider, so you'll have quite a job analyzing each one
> separately.
>
> If you're trying to force a call to the "nds_tagging" or "clickcr"
> functions, you would have to use the IE object model to inject a new
> <script> tag into the page that calls the appropriate function.
>
> --
> Tim Roberts, timr at probo.com
> Providenza & Boekelheide, Inc.
>
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
>
Hello,
""clickcr" functions, you would have to use the IE object model to inject a
new
<script> tag into the page that calls the appropriate function"
this is actually what i want to do function. :)
if possible would help me how to make it work.
thanks in advancd!
Paul
--
View this message in context: http://old.nabble.com/IE-interface-PAMIE-javascript-click-or-win32-ie-click-tp26302675p26312374.html
Sent from the Python - python-win32 mailing list archive at Nabble.com.
More information about the python-win32
mailing list