in reply to Re: Scraping an ASP form I don't have any control over
in thread Scraping an ASP form I don't have any control over

I've asked for a public API, but they are "too busy" with other projects and can't provide one. I've been asking for a couple of years :-)

I'll check out WWW::Mechanize but other postings about it I've seen seem to indicate it doesn't do ASP. Of course they could be old posts.

  • Comment on Re^2: Scraping an ASP form I don't have any control over

Replies are listed 'Best First'.
Re^3: Scraping an ASP form I don't have any control over
by LanX (Saint) on Apr 15, 2017 at 21:16 UTC
    > I'll check out WWW::Mechanize but other postings about it I've seen seem to indicate it doesn't do ASP. 

    Probably you are confusing ASP with JS.

    WWW::Mechanize can't do Javascript and there are many posts concerning this issue.

    To be sure just test of you can access the desired page functions from your browser with deactivated JS.

    Cheers Rolf
    (addicted to the Perl Programming Language and ☆☆☆☆ :)
    Je suis Charlie!

Re^3: Scraping an ASP form I don't have any control over
by marto (Cardinal) on Apr 15, 2017 at 20:00 UTC

    ASP is a server side scripting, not client side, which posts are you referring to?

      I did some google searching before I posted here and found several other people trying to do something similar but they were using a completely different module. I've made progress with Mechanize though, so I think I'll stick with it.

        Use Firefox / Firebug to see what fields you are really posting. ASP adds many hidden fields. Go to Network > Post , right click and copy as POST args, try with LWP. Or copy as cURL request and try with cURL. If you don't get the results you expect, there's probably. JavaScript involved in posting the form and Mech won't be able to do the job. Then you'll need to use PhantomJS or Selenium. The latter can be controlled by Perl.

        Hope this helps!


        The way forward always starts with a minimal test.