I want to create a windows application to enter a web site and collect some data. Firstly it should open the site. Then it clicks some buttons according to code and finally it must get the data form new opening page. I am not sure about how can I do it. My question is how can a bot program open a web site and then click some buttons. Thanks for your help
Bot
Page 1 of 17 Replies - 3121 Views - Last Post: 04 November 2009 - 01:46 PM
Replies To: Bot
#2
Re: Bot
Posted 14 December 2008 - 09:32 AM
It's called Screen Scraping, but be warned, many site owners don't like you scraping their data (basically stealing it)
[rules][/rules]
[rules][/rules]
#3
Re: Bot
Posted 14 December 2008 - 10:01 AM
I don't think that's legal - getting info without its owners ;-)
#4
Re: Bot
Posted 14 December 2008 - 10:10 AM
If the site allows to copy information why it is illegal. I can acquire all data from web site legally. I just do not want to spend to much time for it. I prefer to create a program to get data.
#5
Re: Bot
Posted 14 December 2008 - 02:15 PM
ValPaliy, on 14 Dec, 2008 - 09:01 AM, said:
I don't think that's legal - getting info without its owners ;-)
Its perfectly legal. All screen scraping does is get the underlying code behind the page. Its basically the same as right click-> show source from a webpage. The only difference is you're automating this process. If it were illegal Google would be screwed.
As for code, look into the WebRequest or WebClient classes
MSDN Documentation on WebClient
Cheers
This post has been edited by fremgenc: 14 December 2008 - 02:15 PM
#6
Re: Bot
Posted 14 December 2008 - 02:22 PM
Actually I have no problem with taking data from the site. The part I could not is clicking some buttons according to code. I should open a web site and then a bot must manage this web page instead of me. How can I make it
#7
Re: Bot
Posted 04 November 2009 - 01:37 PM
alpergn, on 14 Dec, 2008 - 01:22 PM, said:
Actually I have no problem with taking data from the site. The part I could not is clicking some buttons according to code. I should open a web site and then a bot must manage this web page instead of me. How can I make it
This might help, I know I was certainly happy to find it:
*** MOD EDIT: Removed link ***
#8
Re: Bot
Posted 04 November 2009 - 01:46 PM
Try AutoIt , its a scripting suite that allows you to automate alot of different tasks.
AUTOIT
Aet
PS I also have that BLackHat site linked above listed as a malicious / virus site. Just FYI. Can a mod please remove it?
AUTOIT
Aet
PS I also have that BLackHat site linked above listed as a malicious / virus site. Just FYI. Can a mod please remove it?
This post has been edited by Aeternalis: 04 November 2009 - 01:49 PM
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote




|