|
Prev: loopback test on serial port. Default termios config
Next: mmap(MAP_SHARED) and msync(MS_INVALIDATE)
From: wimaxj on 20 Jun 2008 14:57 Hi, I want to write a program that can interact with web pages, such as simulating a mouse click on a button or filling a form, based on the contents of this webpage, etc. Actually I want to automate in a webpage based online game www.ogame.org, just like some available bots (most of which are for windows platform and are not open source). I had some searches on google, but none of them gave me any clue. Any one can give me suggestions on where should I start, any linux/ unix libraries I should use (with this I could possibly find what I need to know).
From: John Gordon on 20 Jun 2008 15:04 In <32fe3315-0b45-403b-ac70-3a2770b2ca99(a)l64g2000hse.googlegroups.com> wimaxj <wimaxj(a)gmail.com> writes: > I want to write a program that can interact with web pages, such as > simulating a mouse click on a button or filling a form, based on the > contents of this webpage, etc. If you use Perl, have a look at the WWW::Mechanize package. -- John Gordon A is for Amy, who fell down the stairs gordon(a)panix.com B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies"
From: wimaxj on 20 Jun 2008 15:12
Thanks for the reply! I don't use perl. I can use C/C++, Tcl. But I still can have a look at the package you mentioned. On Jun 20, 3:04 pm, John Gordon <gor...(a)panix.com> wrote: > In <32fe3315-0b45-403b-ac70-3a2770b2c...(a)l64g2000hse.googlegroups.com> wimaxj <wim...(a)gmail.com> writes: > > > I want to write a program that can interact with web pages, such as > > simulating a mouse click on a button or filling a form, based on the > > contents of this webpage, etc. > > If you use Perl, have a look at the WWW::Mechanize package. > > -- > John Gordon A is for Amy, who fell down the stairs > gor...(a)panix.com B is for Basil, assaulted by bears > -- Edward Gorey, "The Gashlycrumb Tinies" |