in reply to Re: ASPX Form Post
in thread ASPX Form Post

Let me explain the problem. I am trying to extract the table data from that website. It requires current date in the textbox and click search. I used Firefox to inspect the network data that are passed to server. using that data, I constructed the parameters manually and submit the form. but, server is not throwing any error and result. I have shared the code here to get some thoughts from perlmonks about whether anything is missing in this code or what should i do to scrape ASPX webpage. I am new to Perl programming. My system details Windows, ActiveState Perl 4.14.

Replies are listed 'Best First'.
Re^3: ASPX Form Post
by hippo (Archbishop) on Sep 09, 2016 at 08:20 UTC

    Thanks for elaborating. Unfortunately the only extra information here about what actually goes wrong is this bit:

    but, server is not throwing any error and result

    which isn't very clear because while it says what doesn't happen, it fails to mention what does actually happen. Does the script hang? Does it die? Does it silently finish? What did you do to try to find the root cause? Have you been through the Basic debugging checklist?

    My system details Windows, ActiveState Perl 4.14.

    That's an almost unfeasibly old version of perl and certainly the code which you have posted would not even compile on such an ancient version. Did you mean 5.14 instead?

      the uggly truth is that: nobody knows the answer. I can't help you, because I am stuck on the same issue.