in reply to Re^2: Can't able to get source page 500 error.
in thread Can't able to get source page 500 error.

Er, did you actually read my reply?

  1. The page requires Javascript.
  2. Neither LWP::UserAgent nor WWW::Mechanize support Javascript.
  3. Thus, your approach can not work.
If you want to try to accomplish your task in Perl, you could look at Selenium::Remote::Driver, but that would require installing a headless browser on your system. Or, you could choose to accomplish your task without Perl using PhantomJS. Either way, you have a lot of work and learning ahead of you.


The way forward always starts with a minimal test.
  • Comment on Re^3: Can't able to get source page 500 error.

Replies are listed 'Best First'.
Re^4: Can't able to get source page 500 error.
by Corion (Patriarch) on Jun 08, 2017 at 13:56 UTC

    I maintain a zoo of Javascript-enabled WWW::Mechanize work-alikes, WWW::Mechanize::PhantomJS, WWW::Mechanize::Firefox and WWW::Mechanize::Chrome. These might or might not help with accessing that site, depending on the real cause for the 500 error.

    Personally, I don't think the 500 error stems from not having Javascript but more likely stems from an invalid HTTPS certificate.