Hi Ion Pop!

On Saturday 20 Feb 2010 12:25:10 Ion Pop wrote:
> Hi,
> 
> There is a page which is created using DotNet and there is a paginated
> table in it.
> I want to download the next pages from that table, but the links to those
> pages use the DoPostBack JS function which is probably created automaticly
> by DotNet.
> 
> That JS function creates a huge POST code that has more than 10 KB and many
> form fields, but I don't know how to calculate them starting from the
> parameters sent to it, and I've seen that the JS files attached to that
> page are very big, so it would be probably very hard to find how are those
> checksums or crypted fields created.
> 
> It is not absolutely needed to create an automatic parser. I can get the
> source code of those pages manually with copy/paste, but I don't know how
> to get that source code since it is taken with JS, so I can't find it in
> the View/Source code menu of the browser.
> 
> Do you have any idea if it is possible to download those pages with a perl
> program without knowing how those JS function calculates the values of the
> POST fields?

You can try looking at Selenium:

1. http://search.cpan.org/dist/Test-WWW-Selenium/

2. http://seleniumhq.org/

It allows you to interact with a browser and control it, including the ability 
to process and interact with JavaScript code.

Regards,

        Shlomi Fish

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://shlom.in/sussman

Deletionists delete Wikipedia articles that they consider lame.
Chuck Norris deletes deletionists whom he considers lame.

Please reply to list if it's a mailing list post - http://shlom.in/reply .

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to