Hi,

I’m looking for some basic hints to get started with writing some sort of script that will do what I myself can do with my mouse, my keyboard and my web browser, but automatically.

For example, let’s suppose I would like to open Firefox, log on to my Youtube account, enter ‘My Videos’, and then go into each of my videos in turn, restricting access to ‘friends only’, and saving.

How could I automate such a thing? I know basic Bash scripting. I can use wget to get a webpage, and grep to look for text in it. I can use if commands to do things conditionally depending on what it found. However, I don’t know how to post content, or deal with cookies the way a browser would.

Could someone point me towards some online resources, or provide me with a brief proof-of-concept script? Thanks.