Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: Can't able to get source page 500 error.

by 1nickt (Canon)
on Jun 08, 2017 at 13:47 UTC ( [id://1192362]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1192362]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 13:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found