Image

Imagelinux_geek wrote in Imagelinux

Bash Scripting, 2 questions

Has anybody got any idea how I could do the following:

1)Script to capture my messages from quizilla.com and dump them into a text file?

Basically the script should...
(a)somehow loginto quizilla

(b)parse the messages page and follow any link
http://www.quizilla.com/cgi-bin/user/message/detail/detail.pl?id=xxx in that page

(c)when it reaches that page it should capture the html to a single txt file (I can edit out the unwanted html later) or it can look for:
and end with " 2)Somebody said they'd made a script to get the fortunes from thinkgeek.com, I'd like a clue on how to do it- refresh the page, find the text between two markers, dump to text file etc.
Message