Web page manipulation without gui [message #176936] |
Mon, 14 August 2006 12:52 |
Eclipse User |
|
|
|
Originally posted by: eblanche.sogeti.com
Hi everybody,
I like some help with this problem :
I need to acces some web pages (one with a login), then compute some data
from those pages, and finally present the result.
All of this without human intervention until the final result.
I would try something like this :
web_connection = open (url)
page1 = web_connection.getpage()
page1... log in, a cookie is created
page2 = web_connection.getpage()
page2... goto next page
page3 = web_connection.getpage()
....
result = page2.part_two + page3.part_three
view.set_content(result)
well, this is the spirit!
I try looking HttpClient, but it's not exported by the plugin org.apache...
and still I don't know how to perform the login... arg
any help is welcome,
and sorry for my poor english.
Eric.
|
|
|
Powered by
FUDForum. Page generated in 0.02972 seconds