View Single Post
Posts: 248 | Thanked: 43 times | Joined on Nov 2009 @ US
#7
Originally Posted by b666m View Post
i think it's very hard with one commandline...
sure it's possible (but that would be a very cryptic or if not cryptic very long line *G*)

the script would contain something like:
Code:
WGETOUT=$(wget -o /dev/null -O- --load-cookies cookies.txt --keep-session-cookies --save-cookies cookies.txt --user-agent="Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 1.1.4322)" http://ebay.com/$bidding-site)
and some sed to get the interesting data
Thanks!! will explore more!!! U da man!

Edit:

Yup this is possible and tested working, just need a lots lots of sed, grep and cleanup of the output ... Well after reading more the lynx user guide.... Just try out some command and I managed to get the Current Bid: value from ebay.

I used the alternative way... such as this simple and quick command to get the value and test the output....

lynx -dump $url_to_the_ebayitem | grep bid:

and i get the bid value....YES!!!

now I am putting it into a script and to the desktop comand widget.. and I get the value too. another Yes!.

SInce I dont have much time today... will work on more later.

MAN! linux/Maemo is really powerful, i can never do that on my old WinMo 6.5 phone hahahahahaa Go! N900!!!

Last edited by radiowc; 2010-02-18 at 20:40.