Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Oct 04, 2010 6:22 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
hi

is there any way I can scrape web pages that uses AJAX using something like ruby + mechanize on linode.

http://watir.com/ would be a solution but I guess not applicable to linode.

Thank you

R


Top
   
 Post subject:
PostPosted: Mon Oct 04, 2010 8:09 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Probably. Figure out what the application is doing to get the data you want, and then do that. AJAX isn't magic; there's still HTTP under the hood.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Mon Oct 04, 2010 8:25 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
hoopycat wrote:
Probably. Figure out what the application is doing to get the data you want, and then do that. AJAX isn't magic; there's still HTTP under the hood.


sounds interesting!

I am not the author of the AJAX code so do you think that 'analysing HTTP' traffic let's say using firebug would do the job?

thank you

R


Top
   
 Post subject:
PostPosted: Tue Oct 05, 2010 2:48 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Perhaps. It depends a lot on the application and what you want to do... it can be a fun way to use tools in ways you don't normally use them, at the very least.

Firebug will probably get you moving; Wireshark is good to play with, as well.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
 Post subject:
PostPosted: Tue Oct 05, 2010 5:43 pm 
Offline
Senior Member

Joined: Fri Aug 20, 2010 3:12 am
Posts: 68
hoopycat wrote:
Perhaps. It depends a lot on the application and what you want to do...

the first step will be to just to scrape (get) data, next one modify/enter data

hoopycat wrote:
change it can be a fun way to use tools in ways you don't normally use them, at the very least.
yep, you're completely right. It sounds really exciting ... also because I know nothing about it right now ...

hoopycat wrote:
Firebug will probably get you moving; Wireshark is good to play with, as well.

I think I installed Wireshark once and didn't get how it works :-)

Thank you

R.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group