pl_for_personal_use has asked for the wisdom of the Perl Monks concerning the following question:

Hi all, I am looking into accessing a bank website from command line. But the challenge I am facing is that the forms are not visible directly. There is a java script running in the background to generate dynamically. I am giving an example website. Please help in identifying the form. https://internet-banking.dbs.com.sg/
  • Comment on How to access javascript based website forms

Replies are listed 'Best First'.
Re: How to access javascript based website forms
by davido (Cardinal) on Jul 04, 2010 at 06:39 UTC

    The easiest solution is to interface with the site through some documented API that bypasses the Javascript. But this would mean that you've got explicit permission to be doing what you are doing. If nothing of the sort exists, it's possible that the bank has no intention of allowing such activity.

    In any case, you ought to secure that written permission before you proceed much further. Without explicit permission, in writing, you're probably running afoul of the bank's website's Terms of Service. I think that scraping a bank's website is at minimum going to earn you a cease and desist letter, or worse.


    Dave

      Question: Why would that warrant a cease && desist?

      If you're using the site properly, then you probably will be okay, in fact if all you're doing is filling out a form, then they will more-than-likely never know. If you're going to try and spam through, cause DoS, or hack-and-slash your way in, then you'll probably be in trouble.




      Demize
Re: How to access javascript based website forms
by Gangabass (Vicar) on Jul 04, 2010 at 02:41 UTC