Hey guys,
I am trying to write a script that uses lynx (and eventually links as well) in order to go to an URL, and then login with a username and password. Here's what I have so far:
Code:
#ask for login name
clear;
read -p "Please Enter your Username: " username
#ask for password
clear;
read -p "Please Enter your Password: " passw
#invoke lynx
lynx -accept_all_cookies http://www.theurl.com/my_account
goto form(loginForm);
input username;
goto form(loginPassword);
input passw;
this isn't working at all. I would also prefer for all of the stuff lynx is doing to NOT be displayed to the user...rather I would like to show a progress bar or spinner while lynx does its thing that the script is telling it to do. I'm new to using lynx within a bash script and any help would be greatly appreciated. Any suggestions?
DeX