Forum Moderators: phranque

Message Too Old, No Replies

How to write a bot that can log into a web site?

I want my bot to check stats while I am away

         

rubenski

2:58 pm on Jul 13, 2004 (gmt 0)

10+ Year Member



Hi, how would I go about writing a bot that can login to my stats page and grab some data from it?

I have done numerous searches on bot writing in Google, but I can't quite find something that explains how to write a "login -> get data from page -> send data to email address" bot.

I was thinking of using Perl or Java of PHP for this. What is a good language for this sort of thing?

Throw anything at me you've got. I am rather experienced with PHP, but I am not sure if this language can perform the job.

DaveAtIFG

3:46 pm on Jul 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Wouldn't a simple chron driven script to email the stats page do the job?

bhartzer

3:53 pm on Jul 13, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I thought you could use the:
[user:password@domain.com...]
url trick to get around having the prompt come up. Would that work?

rubenski

3:53 pm on Jul 13, 2004 (gmt 0)

10+ Year Member



The stats page is not on my server, so the logon part must be included unfortunately. Further, I want to send it from my email address to my cell phone using SMS. So I can only grab a small piece of text.

bhartzer, that doesn't work I'm afraid.