gregmcc
Honorary Master
I've got a linux server where I want to execute some html. The html is a form where I've populated a username and password - then clicking on submit and all works as expected in Chrome/FF. The form is submitted to a external web site and data is returned.
I now want to screen scrape the output so need to run this from command line - tried wget/curl etc but it just returns the source code.
Any ideas on what I can use to "run" this code.
I now want to screen scrape the output so need to run this from command line - tried wget/curl etc but it just returns the source code.
Any ideas on what I can use to "run" this code.
Code:
<html lang="en">
<head>
<title></title>
</head>
<body>
<form method="POST" action='https://www.someorothersite.com/login.fcc'>
<input name="TARGET" id="TARGET" value='HTTP://www.someorothersite.com/usage/getUsage.do' type="hidden" />
<input value="xxxxx" id="USERNAME" name="USER" type="text">
<input value="xxxxx" style="width: 175px;" id="PASSWORD" name="PASSWORD" size="25" maxlength="100" type="password" autocomplete="off" >
<input alt='Log in' title='Log in' type='image'>
</form>
</body>
</html>
Last edited: